home *** CD-ROM | disk | FTP | other *** search
/ MacHack 1993 / MacHack 1993.toast / MacHack™ 1987-1992 / MacHack™ '90 / Other Stuff / Demos ƒ / TOPS SoftTalk Package / SoftTalk C Interface next >
Unknown  |  1990-06-13  |  28.8 KB  |  [nX^d/nX^n]

open in: MacOS 8.1     |     Win98     |     DOS

view JSON data     |     view as text


This file was not able to be converted.
This format is not currently supported by dexvert.

ConfidenceProgramDetectionMatch TypeSupport
100% file data default


id metadata
keyvalue
macFileType[nX^d]
macFileCreator[nX^n]



hex view
+--------+-------------------------+-------------------------+--------+--------+
|00000000| 00 00 00 00 00 00 00 00 | 04 00 72 d8 04 00 59 94 |........|..r...Y.|
|00000010| 04 00 07 ab 04 00 07 ad | 04 00 02 0c 00 02 9b f4 |........|........|
|00000020| 00 02 9b f8 00 02 9b fc | 00 02 9b e8 00 02 9b ec |........|........|
|00000030| 00 00 00 00 00 00 03 c4 | 02 94 80 33 ff ff 00 00 |........|...3....|
|00000040| 09 00 00 00 00 00 00 ff | ff 00 00 00 00 00 11 f0 |........|........|
|00000050| 00 00 13 31 02 64 00 00 | 02 bd 00 3d 00 00 00 00 |...1.d..|...=....|
|00000060| 00 00 00 00 00 3d 00 00 | 02 88 00 00 00 00 00 00 |.....=..|........|
|00000070| 00 00 00 00 00 00 01 01 | 02 64 00 00 00 48 00 48 |........|.d...H.H|
|00000080| 00 01 00 18 03 18 02 64 | 00 1f 00 1e 02 f9 02 46 |.......d|.......F|
|00000090| 00 64 00 00 00 00 04 00 | 6b 60 05 e4 12 4b 00 9b |.d......|k`...K..|
|000000a0| 00 0d 04 00 6b 60 05 e4 | 12 4b 00 9b 00 0d 10 dc |....k`..|.K......|
|000000b0| 00 00 37 dd 00 00 00 00 | ff 00 00 00 00 00 00 00 |..7.....|........|
|000000c0| 73 52 00 00 73 52 00 00 | 73 52 00 00 e7 55 00 00 |sR..sR..|sR...U..|
|000000d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000000e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000000f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000100| 00 00 00 00 04 00 59 1a | 04 00 59 94 04 00 07 ab |......Y.|..Y.....|
|00000110| 04 00 07 ad 04 00 02 0c | 00 02 9b f8 00 02 9b fc |........|........|
|00000120| 00 02 9c 00 00 02 9b ec | 00 02 9b f0 00 00 00 00 |........|........|
|00000130| 00 00 03 c4 02 94 80 33 | ff ff 00 00 09 00 00 00 |.......3|........|
|00000140| 00 00 00 ff ff 00 00 00 | 00 00 11 cc 00 00 12 fa |........|........|
|00000150| 02 27 00 00 02 bd 00 3d | 00 00 00 00 00 00 00 00 |.'.....=|........|
|00000160| 00 3d 00 00 02 88 00 00 | 00 00 00 00 00 00 00 00 |.=......|........|
|00000170| 00 00 01 01 02 64 00 00 | 00 48 00 48 00 01 00 18 |.....d..|.H.H....|
|00000180| 03 18 02 64 00 1f 00 1e | 02 f9 02 46 00 64 00 00 |...d....|...F.d..|
|00000190| 00 00 04 00 51 5a 06 08 | 12 4b 00 6b 00 0d 04 00 |....QZ..|.K.k....|
|000001a0| 51 5a 06 14 12 4b 00 b3 | 00 0d 10 dc 00 00 1d 95 |QZ...K..|........|
|000001b0| 00 00 00 00 00 ff 00 00 | 00 00 00 00 59 ae 00 00 |........|....Y...|
|000001c0| 59 ae 00 00 59 ae 00 00 | e7 55 00 00 00 00 00 00 |Y...Y...|.U......|
|000001d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000001e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000001f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000200| 00 04 0d 0d 0d 0d 00 04 | 0d 0d 0d 0d 00 78 00 03 |........|.....x..|
|00000210| 00 00 00 48 00 48 00 00 | 00 00 02 da 02 28 ff e1 |...H.H..|.....(..|
|00000220| ff e2 02 f9 02 46 03 47 | 05 28 03 fc 00 02 00 00 |.....F.G|.(......|
|00000230| 00 48 00 48 00 00 00 00 | 02 da 02 28 00 01 00 00 |.H.H....|...(....|
|00000240| 00 64 00 00 00 01 00 01 | 01 01 00 00 00 01 27 0f |.d......|......'.|
|00000250| 00 01 00 01 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000260| 00 02 00 19 01 90 00 00 | 00 00 00 40 00 00 00 00 |........|...@....|
|00000270| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000280| 00 00 00 00 00 00 00 c3 | fc 00 2d 02 40 00 2d 00 |........|..-.@.-.|
|00000290| 0c f7 ff 00 10 0a 00 f7 | 0d 0d 0d fc 00 2d 02 3b |........|.....-.;|
|000002a0| 00 2d 80 0c 04 d9 08 de | f7 53 6f 66 74 54 61 6c |.-......|.SoftTal|
|000002b0| 6b 20 43 20 49 6e 74 65 | 72 66 61 63 65 20 50 61 |k C Inte|rface Pa|
|000002c0| 63 6b 61 67 65 09 fd 01 | f7 09 70 61 67 65 20 fd |ckage...|..page .|
|000002d0| 00 f7 0d f9 04 f7 fc 00 | 2d 02 37 00 2d 80 0c 05 |........|-.7.-...|
|000002e0| 11 08 ca f7 ff 00 15 0a | 00 f7 5f 5f 5f 5f 5f 5f |........|..______|
|000002f0| 5f 5f 5f 5f 5f 5f 5f 5f | 5f 5f 5f 5f 5f 5f 5f 5f |________|________|
|00000300| 5f 5f 5f 5f 5f 5f 5f 5f | 5f 5f 5f 5f 5f 5f 5f 5f |________|________|
|00000310| 5f 5f 5f 5f 5f 5f 5f 5f | 5f 5f 5f 5f 5f 5f 5f 5f |________|________|
|00000320| 5f 5f 5f 5f 5f 5f 5f 5f | 5f 5f 5f 5f 5f 5f 5f 5f |________|________|
|00000330| 5f 5f 5f 5f 5f 5f 5f 5f | 5f 5f 5f 5f 5f 5f 5f 5f |________|________|
|00000340| 5f f9 00 f7 ff 00 15 0c | 00 f7 0d 00 d7 ff 00 15 |_.......|........|
|00000350| 0a 00 f7 f9 04 f7 5f 5f | 5f 5f 5f 5f 5f 5f 5f 5f |......__|________|
|00000360| 5f 5f 5f 5f 5f 5f 5f 5f | 5f 5f 5f 5f 5f 5f 5f 5f |________|________|
|00000370| 5f 5f 5f 5f 5f 5f 5f 5f | 5f 5f 5f 5f 5f 5f 5f 5f |________|________|
|00000380| 5f 5f 5f 5f 5f 5f 5f 5f | 5f 5f 5f 5f 5f 5f 5f 5f |________|________|
|00000390| 5f 5f 5f 5f 5f 5f 5f 5f | 5f 5f 5f 5f 5f 5f 5f 5f |________|________|
|000003a0| 5f 5f 5f 5f 5f 5f 5f 5f | 5f 5f 5f 5f 5f f9 00 f7 |________|_____...|
|000003b0| ff 00 15 0c 00 f7 0d fc | 00 2d 02 3b 00 2d 80 0c |........|.-.;.-..|
|000003c0| 08 de f7 ff 00 10 0c 00 | f7 53 75 6e 20 4d 69 63 |........|.Sun Mic|
|000003d0| 72 6f 73 79 73 74 65 6d | 73 2c 20 54 4f 50 53 20 |rosystem|s, TOPS |
|000003e0| 44 69 76 69 73 69 6f 6e | 09 43 4f 4e 46 49 44 45 |Division|.CONFIDE|
|000003f0| 4e 54 49 41 4c 21 20 44 | 4f 20 4e 4f 54 20 44 49 |NTIAL! D|O NOT DI|
|00000400| 53 54 52 49 42 55 54 45 | ff 00 03 0c 00 f7 0d ff |STRIBUTE|........|
|00000410| 00 10 0a 00 f7 fc 00 2d | 02 40 00 2d 82 0c 08 ba |.......-|.@.-....|
|00000420| f7 0d 0d 0d 03 6b 09 53 | 69 6e 63 65 20 74 68 65 |.....k.S|ince the|
|00000430| 20 73 65 72 76 65 72 20 | 63 61 6e 20 61 63 63 65 | server |can acce|
|00000440| 70 74 20 73 65 76 65 72 | 61 6c 20 63 6c 69 65 6e |pt sever|al clien|
|00000450| 74 73 2c 20 79 6f 75 20 | 63 61 6e 20 6c 61 75 6e |ts, you |can laun|
|00000460| 63 68 20 6d 75 6c 74 69 | 70 6c 65 20 63 6c 69 65 |ch multi|ple clie|
|00000470| 6e 74 73 20 6f 6e 20 79 | 6f 75 72 20 6e 65 74 77 |nts on y|our netw|
|00000480| 6f 72 6b 2e 20 20 46 6f | 72 20 65 61 63 68 20 63 |ork. Fo|r each c|
|00000490| 6c 69 65 6e 74 2c 20 79 | 6f 75 20 6d 75 73 74 20 |lient, y|ou must |
|000004a0| 74 68 65 6e 20 6f 70 65 | 6e 20 74 68 65 20 73 65 |then ope|n the se|
|000004b0| 73 73 69 6f 6e 20 74 6f | 20 74 68 65 20 73 65 72 |ssion to| the ser|
|000004c0| 76 65 72 20 61 73 20 64 | 65 73 63 72 69 62 65 64 |ver as d|escribed|
|000004d0| 20 61 62 6f 76 65 2e 0d | 09 53 69 6e 63 65 20 74 | above..|.Since t|
|000004e0| 68 65 20 73 65 72 76 65 | 72 27 73 20 6e 61 6d 65 |he serve|r's name|
|000004f0| 20 69 73 20 68 61 72 64 | 2d 63 6f 64 65 64 2c 20 | is hard|-coded, |
|00000500| 61 6e 64 20 74 68 65 72 | 65 20 69 73 20 6f 6e 6c |and ther|e is onl|
|00000510| 79 20 6f 6e 65 20 73 65 | 72 76 65 72 20 61 6c 6c |y one se|rver all|
|00000520| 6f 77 65 64 20 6f 6e 20 | 74 68 65 20 6e 65 74 77 |owed on |the netw|
|00000530| 6f 72 6b 20 77 69 74 68 | 20 61 20 67 69 76 65 6e |ork with| a given|
|00000540| 20 6e 61 6d 65 2c 20 79 | 6f 75 20 63 61 6e 20 73 | name, y|ou can s|
|00000550| 74 61 72 74 20 75 70 20 | 6f 6e 6c 79 20 6f 6e 65 |tart up |only one|
|00000560| 20 73 65 72 76 65 72 2e | 20 20 41 20 72 65 61 6c | server.| A real|
|00000570| 20 73 65 72 76 65 72 20 | 73 68 6f 75 6c 64 20 68 | server |should h|
|00000580| 61 76 65 20 61 20 70 72 | 6f 76 69 73 69 6f 6e 20 |ave a pr|ovision |
|00000590| 66 6f 72 20 63 68 6f 6f | 73 69 6e 67 20 61 6e 20 |for choo|sing an |
|000005a0| 61 6c 74 65 72 6e 61 74 | 65 20 6e 61 6d 65 20 69 |alternat|e name i|
|000005b0| 66 20 69 74 73 20 6e 61 | 6d 65 20 69 73 20 61 6c |f its na|me is al|
|000005c0| 72 65 61 64 79 20 74 61 | 6b 65 6e 2e 0d 09 46 69 |ready ta|ken...Fi|
|000005d0| 6e 61 6c 6c 79 2c 20 69 | 66 20 79 6f 75 20 68 61 |nally, i|f you ha|
|000005e0| 76 65 20 61 20 6d 61 63 | 68 69 6e 65 20 74 68 61 |ve a mac|hine tha|
|000005f0| 74 20 69 73 20 72 75 6e | 6e 69 6e 67 20 74 68 65 |t is run|ning the|
|00000600| 20 6e 65 77 20 65 78 74 | 65 6e 64 65 64 20 41 70 | new ext|ended Ap|
|00000610| 70 6c 65 54 61 6c 6b 20 | 64 72 69 76 65 72 73 20 |pleTalk |drivers |
|00000620| 28 69 2e 65 2e 20 61 20 | 4d 61 63 49 49 2c 20 4d |(i.e. a |MacII, M|
|00000630| 61 63 20 53 45 2c 20 65 | 74 63 2e 29 20 20 79 6f |ac SE, e|tc.) yo|
|00000640| 75 20 63 61 6e 20 65 78 | 70 65 72 69 6d 65 6e 74 |u can ex|periment|
|00000650| 20 77 69 74 68 20 74 68 | 65 73 65 20 70 72 6f 67 | with th|ese prog|
|00000660| 72 61 6d 73 20 6f 6e 20 | 61 20 73 69 6e 67 6c 65 |rams on |a single|
|00000670| 20 6d 61 63 68 69 6e 65 | 20 75 73 69 6e 67 20 74 | machine| using t|
|00000680| 68 65 20 53 65 6c 66 53 | 65 6e 64 20 66 75 6e 63 |he SelfS|end func|
|00000690| 74 69 6f 6e 61 6c 69 74 | 79 20 70 72 6f 76 69 64 |tionalit|y provid|
|000006a0| 65 64 20 62 79 20 74 68 | 65 20 64 72 69 76 65 72 |ed by th|e driver|
|000006b0| 73 2e 20 20 54 68 65 20 | 53 54 53 65 72 76 65 72 |s. The |STServer|
|000006c0| 20 61 6c 77 61 79 73 20 | 65 6e 61 62 6c 65 73 20 | always |enables |
|000006d0| 53 65 6c 66 53 65 6e 64 | 20 77 68 65 6e 20 69 74 |SelfSend| when it|
|000006e0| 20 73 74 61 72 74 73 20 | 75 70 2c 20 73 6f 20 79 | starts |up, so y|
|000006f0| 6f 75 20 64 6f 6e 27 74 | 20 68 61 76 65 20 74 6f |ou don't| have to|
|00000700| 20 64 6f 20 61 6e 79 74 | 68 69 6e 67 20 73 70 65 | do anyt|hing spe|
|00000710| 63 69 61 6c 2e 20 20 52 | 75 6e 6e 69 6e 67 20 75 |cial. R|unning u|
|00000720| 6e 64 65 72 20 4d 75 6c | 74 69 46 69 6e 64 65 72 |nder Mul|tiFinder|
|00000730| 2c 20 79 6f 75 20 63 61 | 6e 20 6c 61 75 6e 63 68 |, you ca|n launch|
|00000740| 20 74 68 65 20 53 54 53 | 65 72 76 65 72 20 61 6e | the STS|erver an|
|00000750| 64 20 6d 75 6c 74 69 70 | 6c 65 20 63 6f 70 69 65 |d multip|le copie|
|00000760| 73 20 6f 66 20 74 68 65 | 20 53 54 43 6c 69 65 6e |s of the| STClien|
|00000770| 74 20 61 6e 64 20 6f 62 | 73 65 72 76 65 20 68 6f |t and ob|serve ho|
|00000780| 77 20 74 68 65 79 20 69 | 6e 74 65 72 61 63 74 2e |w they i|nteract.|
|00000790| 0d 00 18 04 00 02 00 00 | 40 04 00 02 06 00 40 64 |........|@.....@d|
|000007a0| 00 02 86 00 3c 64 00 03 | 4b 00 3c 00 00 00 6a 00 |....<d..|K.<...j.|
|000007b0| 6c 00 00 00 01 88 5f 8f | c1 08 67 b5 7c 00 72 65 |l....._.|..g.|.re|
|000007c0| 76 00 67 75 61 44 6e 67 | d5 a2 b7 f6 ad 00 77 70 |v.guaDng|......wp|
|000007d0| 6d 72 11 f0 8a 55 f0 66 | 80 71 34 55 31 0c a5 09 |mr...U.f|.q4U1...|
|000007e0| d8 e0 ba da 30 55 83 13 | c1 6d 88 7d 86 86 4c ca |....0U..|.m.}..L.|
|000007f0| 32 79 c6 d2 63 00 6c 71 | 73 cb d8 4f 42 17 3a 5a |2y..c.lq|s..OB.:Z|
|00000800| bd 36 83 93 2e e6 ef a5 | 70 7f cc 01 1d a5 44 53 |.6......|p.....DS|
|00000810| 2e 74 69 6e 69 67 29 3d | 56 01 fb ff 00 10 0c 01 |.tinig)=|V.......|
|00000820| f7 0d 0d 43 6f 64 69 6e | 67 20 43 6f 6e 76 65 6e |...Codin|g Conven|
|00000830| 74 69 6f 6e 73 ff 00 10 | 0c 00 f7 3a 0d a5 20 61 |tions...|...:.. a|
|00000840| 6c 6c 20 6d 6f 64 75 6c | 65 73 20 61 72 65 20 64 |ll modul|es are d|
|00000850| 69 76 69 64 65 64 20 69 | 6e 74 6f 20 74 77 6f 20 |ivided i|nto two |
|00000860| 66 69 6c 65 73 3a 20 ff | 00 10 0c 02 f7 4d 6f 64 |files: .|.....Mod|
|00000870| 75 6c 65 2e 63 ff 00 10 | 0c 00 f7 20 69 73 20 74 |ule.c...|... is t|
|00000880| 68 65 20 69 6d 70 6c 65 | 6d 65 6e 74 61 74 69 6f |he imple|mentatio|
|00000890| 6e 2c 20 61 6e 64 20 ff | 00 10 0c 02 f7 4d 6f 64 |n, and .|.....Mod|
|000008a0| 75 6c 65 2e 68 ff 00 10 | 0c 00 f7 20 69 73 20 74 |ule.h...|... is t|
|000008b0| 68 65 20 65 78 74 65 72 | 6e 61 6c 20 69 6e 74 65 |he exter|nal inte|
|000008c0| 72 66 61 63 65 2e 0d a5 | ca 61 6c 6c 20 74 79 70 |rface...|.all typ|
|000008d0| 65 2d 20 61 6e 64 20 66 | 75 6e 63 74 69 6f 6e 2d |e- and f|unction-|
|000008e0| 6e 61 6d 65 73 20 62 65 | 67 69 6e 20 77 69 74 68 |names be|gin with|
|000008f0| 20 61 6e 20 75 70 70 65 | 72 63 61 73 65 20 6c 65 | an uppe|rcase le|
|00000900| 74 74 65 72 2e 0d a5 20 | 61 6c 6c 20 76 61 72 69 |tter... |all vari|
|00000910| 61 62 6c 65 20 6e 61 6d | 65 73 20 62 65 67 69 6e |able nam|es begin|
|00000920| 20 77 69 74 68 20 61 20 | 6c 6f 77 65 72 63 61 73 | with a |lowercas|
|00000930| 65 20 6c 65 74 74 65 72 | 2e 0d a5 ca 61 6c 6c 20 |e letter|....all |
|00000940| 63 6f 6e 73 74 61 6e 74 | 73 20 62 65 67 69 6e 20 |constant|s begin |
|00000950| 77 69 74 68 20 61 20 6c | 6f 77 65 72 63 61 73 65 |with a l|owercase|
|00000960| 20 27 6b 27 2e 0d a5 20 | 61 6c 6c 20 63 6c 61 73 | 'k'... |all clas|
|00000970| 73 2d 6e 61 6d 65 73 20 | 62 65 67 69 6e 20 77 69 |s-names |begin wi|
|00000980| 74 68 20 61 6e 20 75 70 | 70 65 72 63 61 73 65 20 |th an up|percase |
|00000990| 27 43 27 2e 0d a5 20 61 | 6c 6c 20 69 6e 73 74 61 |'C'... a|ll insta|
|000009a0| 6e 63 65 2d 76 61 72 69 | 61 62 6c 65 73 20 62 65 |nce-vari|ables be|
|000009b0| 67 69 6e 20 77 69 74 68 | 20 61 20 6c 6f 77 65 72 |gin with| a lower|
|000009c0| 63 61 73 65 20 27 66 27 | 2e 0d a5 20 61 6c 6c 20 |case 'f'|... all |
|000009d0| 67 6c 6f 62 61 6c 20 76 | 61 72 69 61 62 6c 65 73 |global v|ariables|
|000009e0| 20 61 72 65 20 70 72 65 | 63 65 64 65 64 20 62 79 | are pre|ceded by|
|000009f0| 20 61 20 6c 6f 77 65 72 | 63 61 73 65 20 27 67 27 | a lower|case 'g'|
|00000a00| 2e ff 00 10 0c 01 f7 0d | ff 00 10 0c 00 f7 0d ff |........|........|
|00000a10| 00 10 0c 01 f7 0d 02 fa | fc 00 48 02 1c 00 48 02 |........|..H...H.|
|00000a20| 0c f7 ff 00 10 18 01 f7 | f5 f6 ff 00 10 0c 01 f7 |........|........|
|00000a30| 54 4f 50 53 ff 00 03 0c | 00 f7 0d ff 00 10 0c 01 |TOPS....|........|
|00000a40| f7 61 20 44 69 76 69 73 | 69 6f 6e 20 6f 66 20 53 |.a Divis|ion of S|
|00000a50| 75 6e 20 4d 69 63 72 6f | 73 79 73 74 65 6d 73 20 |un Micro|systems |
|00000a60| 2c 20 49 6e 63 2e ff 00 | 03 0c 00 f7 0d fc 00 48 |, Inc...|.......H|
|00000a70| 01 ee 00 48 00 0c 02 c0 | 03 40 03 c4 04 44 04 c8 |...H....|.@...D..|
|00000a80| 05 48 05 c8 06 4c 06 cc | 07 50 f7 fe 00 06 01 d6 |.H...L..|.P......|
|00000a90| 00 30 f0 0f f0 0f f0 0f | f0 0f 00 05 01 d5 11 01 |.0......|........|
|00000aa0| a0 00 82 01 00 0a f0 0f | f0 0f f0 0f f0 0f 00 05 |........|........|
|00000ab0| 01 d5 20 00 01 00 01 00 | 01 01 d4 20 00 03 00 01 |.. .....|... ....|
|00000ac0| 00 03 01 d4 a0 00 83 f0 | 0f f7 0d fc 00 48 02 1c |........|.....H..|
|00000ad0| 00 48 02 0c f7 ff 00 10 | 18 01 f7 54 68 65 20 53 |.H......|...The S|
|00000ae0| 6f 66 74 54 61 6c 6b 20 | 43 20 49 6e 74 65 72 66 |oftTalk |C Interf|
|00000af0| 61 63 65 20 50 61 63 6b | 61 67 65 ff 00 03 18 00 |ace Pack|age.....|
|00000b00| f7 0d ff 00 03 0c 00 f7 | fc 00 48 01 ee 00 48 00 |........|..H...H.|
|00000b10| 0c 02 c0 03 40 03 c4 04 | 44 04 c8 05 48 05 c8 06 |....@...|D...H...|
|00000b20| 4c 06 cc 07 50 f7 fe 00 | 06 01 d6 00 30 f0 0f f0 |L...P...|....0...|
|00000b30| 0f f0 0f f0 0f 00 05 01 | d5 11 01 a0 00 82 01 00 |........|........|
|00000b40| 0a f0 0f f0 0f f0 0f f0 | 0f 00 05 01 d5 20 00 01 |........|..... ..|
|00000b50| 00 01 00 01 01 d4 20 00 | 03 00 01 00 03 01 d4 a0 |...... .|........|
|00000b60| 00 83 f0 0f f7 0d fc 00 | 48 02 1c 00 48 00 0c 02 |........|H...H...|
|00000b70| 40 f7 ff 00 10 0c 00 f7 | 41 75 74 68 6f 72 3a f9 |@.......|Author:.|
|00000b80| 00 f7 ff 00 10 0c 01 f7 | 09 ff 00 10 0c 00 f7 4d |........|.......M|
|00000b90| 69 63 68 61 65 6c 20 43 | 6f 68 65 6e ff 00 03 0c |ichael C|ohen....|
|00000ba0| 00 f7 0d ff 00 10 0c 00 | f7 ff 00 03 0c 00 f7 fc |........|........|
|00000bb0| 00 48 02 1c 00 48 00 0c | 01 b0 f7 0d fc 00 90 02 |.H...H..|........|
|00000bc0| 1c 00 48 00 0c 02 40 f7 | ff 00 10 0c 00 f7 41 62 |..H...@.|......Ab|
|00000bd0| 73 74 72 61 63 74 3a ff | 00 03 0c 00 f7 09 ff 00 |stract:.|........|
|00000be0| 10 0c 00 f7 54 68 69 73 | 20 64 6f 63 75 6d 65 6e |....This| documen|
|00000bf0| 74 20 64 65 73 63 72 69 | 62 65 73 20 74 68 65 20 |t descri|bes the |
|00000c00| 70 75 72 70 6f 73 65 2c | 20 63 6f 6e 74 65 6e 74 |purpose,| content|
|00000c10| 73 2c 20 61 6e 64 20 75 | 73 61 67 65 20 6f 66 20 |s, and u|sage of |
|00000c20| 74 68 65 20 53 6f 66 74 | 54 61 6c 6b 20 43 20 49 |the Soft|Talk C I|
|00000c30| 6e 74 65 72 66 61 63 65 | 20 50 61 63 6b 61 67 65 |nterface| Package|
|00000c40| 2e ff 00 03 0c 00 f7 0d | ff 00 03 0c 00 f7 f9 00 |........|........|
|00000c50| f7 fc 00 48 02 1c 00 48 | 00 0c 01 b0 f7 0d fc 00 |...H...H|........|
|00000c60| 48 02 1c 00 48 00 0c 02 | 89 03 61 04 39 04 c8 f7 |H...H...|..a.9...|
|00000c70| ff 00 10 0c 00 f7 52 65 | 76 69 73 69 6f 6e 73 3a |......Re|visions:|
|00000c80| ff 00 10 0c 04 f7 09 56 | 65 72 f9 00 f7 ff 00 10 |.......V|er......|
|00000c90| 0c 00 f7 20 09 ff 00 10 | 0c 04 f7 44 61 74 65 f9 |... ....|...Date.|
|00000ca0| 00 f7 ff 00 10 0c 00 f7 | 09 ff 00 10 0c 04 f7 41 |........|.......A|
|00000cb0| 75 74 68 6f 72 f9 00 f7 | ff 00 10 0c 00 f7 09 ff |uthor...|........|
|00000cc0| 00 10 0c 04 f7 44 65 73 | 63 72 69 70 74 69 6f 6e |.....Des|cription|
|00000cd0| 20 6f 66 20 52 65 76 69 | 73 69 6f 6e ff 00 03 0c | of Revi|sion....|
|00000ce0| 00 f7 0d ff 00 10 0a 00 | f7 09 31 2e 30 2e 32 09 |........|..1.0.2.|
|00000cf0| 20 39 2d 53 65 70 74 2d | 38 39 09 4d 41 43 09 53 | 9-Sept-|89.MAC.S|
|00000d00| 65 63 6f 6e 64 20 44 72 | 61 66 74 ff 00 03 0a 00 |econd Dr|aft.....|
|00000d10| f7 0d 02 4c 0d a5 20 74 | 68 65 20 53 6f 66 74 54 |...L.. t|he SoftT|
|00000d20| 61 6c 6b 20 43 20 49 6e | 74 65 72 66 61 63 65 20 |alk C In|terface |
|00000d30| 50 61 63 6b 61 67 65 20 | 64 6f 63 75 6d 65 6e 74 |Package |document|
|00000d40| 20 69 6e 20 68 61 72 64 | 63 6f 70 79 20 61 6e 64 | in hard|copy and|
|00000d50| 20 65 6c 65 63 74 72 6f | 6e 69 63 20 66 6f 72 6d | electro|nic form|
|00000d60| 2e 0d 0d a5 20 74 68 65 | 20 53 6f 66 74 54 61 6c |.... the| SoftTal|
|00000d70| 6b 20 49 4e 49 54 20 66 | 69 6c 65 0d fc 00 5a 02 |k INIT f|ile...Z.|
|00000d80| 0a 00 5a 00 0c 01 b0 f7 | 74 68 65 20 49 4e 49 54 |..Z.....|the INIT|
|00000d90| 20 69 6e 73 74 61 6c 6c | 73 20 74 68 65 20 63 6f | install|s the co|
|00000da0| 64 65 20 6d 6f 64 75 6c | 65 20 74 68 61 74 20 69 |de modul|e that i|
|00000db0| 6d 70 6c 65 6d 65 6e 74 | 73 20 74 68 65 20 53 6f |mplement|s the So|
|00000dc0| 66 74 54 61 6c 6b 20 70 | 72 6f 74 6f 63 6f 6c 20 |ftTalk p|rotocol |
|00000dd0| 66 6f 72 20 74 68 65 20 | 4d 61 63 69 6e 74 6f 73 |for the |Macintos|
|00000de0| 68 2e 0d fc 00 48 02 1c | 00 48 00 0c 01 b0 f7 0d |h....H..|.H......|
|00000df0| a5 20 74 68 65 20 69 6e | 74 65 72 66 61 63 65 20 |. the in|terface |
|00000e00| 6c 69 62 72 61 72 79 2c | 20 53 6f 66 74 54 61 6c |library,| SoftTal|
|00000e10| 6b 2e 6c 69 62 2e 0d fc | 00 5a 02 0a 00 5a 00 0c |k.lib...|.Z...Z..|
|00000e20| 01 b0 f7 74 68 65 20 69 | 6e 74 65 72 66 61 63 65 |...the i|nterface|
|00000e30| 20 6c 69 62 72 61 72 79 | 20 70 72 6f 76 69 64 65 | library| provide|
|00000e40| 73 20 74 68 65 20 67 6c | 75 65 20 62 65 74 77 65 |s the gl|ue betwe|
|00000e50| 65 6e 20 79 6f 75 72 20 | 43 20 63 61 6c 6c 73 20 |en your |C calls |
|00000e60| 74 6f 20 53 6f 66 74 54 | 61 6c 6b 2c 20 61 6e 64 |to SoftT|alk, and|
|00000e70| 20 74 68 65 20 53 6f 66 | 74 54 61 6c 6b 20 63 6f | the Sof|tTalk co|
|00000e80| 64 65 20 6d 6f 64 75 6c | 65 2e 20 20 54 68 69 73 |de modul|e. This|
|00000e90| 20 6c 69 62 72 61 72 79 | 20 73 68 6f 75 6c 64 20 | library| should |
|00000ea0| 62 65 20 6c 69 6e 6b 65 | 64 20 74 6f 20 79 6f 75 |be linke|d to you|
|00000eb0| 72 20 61 70 70 6c 69 63 | 61 74 69 6f 6e 2e 20 20 |r applic|ation. |
|00000ec0| 54 68 65 20 63 75 72 72 | 65 6e 74 20 76 65 72 73 |The curr|ent vers|
|00000ed0| 69 6f 6e 20 6f 66 20 74 | 68 65 20 6c 69 62 72 61 |ion of t|he libra|
|00000ee0| 72 79 20 69 73 20 69 6e | 74 65 6e 64 65 64 20 66 |ry is in|tended f|
|00000ef0| 6f 72 20 75 73 65 20 77 | 69 74 68 20 54 48 49 4e |or use w|ith THIN|
|00000f00| 4b 20 43 20 34 2e 30 2e | 20 20 56 65 72 73 69 6f |K C 4.0.| Versio|
|00000f10| 6e 73 20 66 6f 72 20 6f | 74 68 65 72 20 63 6f 6d |ns for o|ther com|
|00000f20| 70 69 6c 65 72 73 2c 20 | 73 75 63 68 20 61 73 20 |pilers, |such as |
|00000f30| 4d 50 57 20 43 2c 20 54 | 48 49 4e 4b 20 50 61 73 |MPW C, T|HINK Pas|
|00000f40| 63 61 6c 2c 20 65 74 63 | 2e 2c 20 77 69 6c 6c 20 |cal, etc|., will |
|00000f50| 62 65 20 66 6f 72 74 68 | 63 6f 6d 69 6e 67 2e 0d |be forth|coming..|
|00000f60| 03 b1 fc 00 48 02 1c 00 | 48 00 0c 01 b0 f7 0d a5 |....H...|H.......|
|00000f70| 20 74 68 65 20 69 6e 74 | 65 72 66 61 63 65 20 69 | the int|erface i|
|00000f80| 6e 63 6c 75 64 65 20 66 | 69 6c 65 2c 20 53 6f 66 |nclude f|ile, Sof|
|00000f90| 74 54 61 6c 6b 2e 68 2e | 0d fc 00 5a 02 0a 00 5a |tTalk.h.|...Z...Z|
|00000fa0| 00 0c 01 b0 f7 74 68 69 | 73 20 66 69 6c 65 20 73 |.....thi|s file s|
|00000fb0| 70 65 63 69 66 69 65 73 | 20 53 6f 66 74 54 61 6c |pecifies| SoftTal|
|00000fc0| 6b 20 63 6f 6e 73 74 61 | 6e 74 73 2c 20 64 61 74 |k consta|nts, dat|
|00000fd0| 61 20 73 74 72 75 63 74 | 75 72 65 73 2c 20 61 6e |a struct|ures, an|
|00000fe0| 64 20 66 75 6e 63 74 69 | 6f 6e 20 70 72 6f 74 6f |d functi|on proto|
|00000ff0| 74 79 70 65 73 20 74 68 | 61 74 20 79 6f 75 20 77 |types th|at you w|
|00001000| 69 6c 6c 20 6e 65 65 64 | 20 74 6f 20 75 73 65 20 |ill need| to use |
|00001010| 69 6e 20 79 6f 75 72 20 | 70 72 6f 67 72 61 6d 20 |in your |program |
|00001020| 69 6e 20 6f 72 64 65 72 | 20 74 6f 20 61 63 63 65 |in order| to acce|
|00001030| 73 73 20 53 6f 66 74 54 | 61 6c 6b 2e 0d fc 00 48 |ss SoftT|alk....H|
|00001040| 02 1c 00 48 00 0c 01 b0 | f7 0d a5 20 74 68 65 20 |...H....|... the |
|00001050| 73 61 6d 70 6c 65 20 73 | 65 72 76 65 72 2c 20 53 |sample s|erver, S|
|00001060| 54 53 65 72 76 65 72 2c | 20 61 6e 64 20 74 68 65 |TServer,| and the|
|00001070| 20 73 61 6d 70 6c 65 20 | 63 6c 69 65 6e 74 2c 20 | sample |client, |
|00001080| 53 54 43 6c 69 65 6e 74 | 2e 0d fc 00 5a 02 0a 00 |STClient|....Z...|
|00001090| 5a 00 0c 01 b0 f7 09 54 | 68 65 73 65 20 61 72 65 |Z......T|hese are|
|000010a0| 20 61 20 62 61 72 65 2d | 62 6f 6e 65 73 20 65 78 | a bare-|bones ex|
|000010b0| 61 6d 70 6c 65 73 20 6f | 66 20 68 6f 77 20 74 6f |amples o|f how to|
|000010c0| 20 63 72 65 61 74 65 20 | 61 20 53 6f 66 74 54 61 | create |a SoftTa|
|000010d0| 6c 6b 20 73 65 72 76 65 | 72 20 61 6e 64 20 61 20 |lk serve|r and a |
|000010e0| 63 6f 72 72 65 73 70 6f | 6e 64 69 6e 67 20 63 6c |correspo|nding cl|
|000010f0| 69 65 6e 74 2e 20 20 54 | 68 65 79 20 61 72 65 20 |ient. T|hey are |
|00001100| 69 6e 74 65 6e 64 65 64 | 20 6f 6e 6c 79 20 61 73 |intended| only as|
|00001110| 20 61 20 64 65 6d 6f 6e | 73 74 72 61 74 69 6f 6e | a demon|stration|
|00001120| 20 6f 66 20 74 68 65 20 | 63 61 6c 6c 69 6e 67 20 | of the |calling |
|00001130| 63 6f 6e 76 65 6e 74 69 | 6f 6e 73 20 74 68 61 74 |conventi|ons that|
|00001140| 20 79 6f 75 20 77 69 6c | 6c 20 6e 65 65 64 20 74 | you wil|l need t|
|00001150| 6f 20 66 6f 6c 6c 6f 77 | 2e 20 20 54 68 65 72 65 |o follow|. There|
|00001160| 20 61 72 65 20 6d 61 6e | 79 20 74 68 69 6e 67 73 | are man|y things|
|00001170| 20 28 69 2e 65 2e 20 65 | 78 63 65 70 74 69 6f 6e | (i.e. e|xception|
|00001180| 20 68 61 6e 64 6c 69 6e | 67 2c 20 6d 65 6d 6f 72 | handlin|g, memor|
|00001190| 79 20 6d 61 6e 61 67 65 | 6d 65 6e 74 2c 20 65 74 |y manage|ment, et|
|000011a0| 63 2e 29 20 74 68 61 74 | 20 61 20 72 65 61 6c 20 |c.) that| a real |
|000011b0| 73 65 72 76 65 20 61 6e | 64 20 61 20 72 65 61 6c |serve an|d a real|
|000011c0| 20 63 6c 69 65 6e 74 20 | 77 69 6c 6c 20 6e 65 65 | client |will nee|
|000011d0| 64 20 74 6f 20 64 6f 20 | 74 68 61 74 20 68 61 76 |d to do |that hav|
|000011e0| 65 20 62 65 65 6e 20 6f | 6d 69 74 74 65 64 20 69 |e been o|mitted i|
|000011f0| 6e 20 74 68 65 73 65 20 | 73 61 6d 70 6c 65 73 2e |n these |samples.|
|00001200| 0d 09 54 68 69 73 20 70 | 61 63 6b 61 67 65 20 69 |..This p|ackage i|
|00001210| 6e 63 6c 75 64 65 73 20 | 74 68 65 20 63 6f 6d 70 |ncludes |the comp|
|00001220| 69 6c 65 64 20 61 70 70 | 6c 69 63 61 74 69 6f 6e |iled app|lication|
|00001230| 73 20 53 54 53 65 72 76 | 65 72 20 61 6e 64 20 53 |s STServ|er and S|
|00001240| 54 43 6c 69 65 6e 74 20 | 61 73 20 77 65 6c 6c 20 |TClient |as well |
|00001250| 61 73 20 74 68 65 20 54 | 48 49 4e 4b 20 43 20 34 |as the T|HINK C 4|
|00001260| 2e 30 20 70 72 6f 6a 65 | 63 74 73 20 74 68 61 74 |.0 proje|cts that|
|00001270| 20 70 72 6f 64 75 63 65 | 64 20 74 68 65 20 61 70 | produce|d the ap|
|00001280| 70 6c 69 63 61 74 69 6f | 6e 73 2e 0d 09 54 68 65 |plicatio|ns...The|
|00001290| 20 74 77 6f 20 66 69 6c | 65 73 20 53 54 53 65 72 | two fil|es STSer|
|000012a0| 76 65 72 2e 63 20 61 6e | 64 20 53 54 53 65 72 76 |ver.c an|d STServ|
|000012b0| 65 72 2e 68 20 69 6d 70 | 6c 65 6d 65 6e 74 20 74 |er.h imp|lement t|
|000012c0| 68 65 20 73 61 6d 70 6c | 65 20 73 65 72 76 65 72 |he sampl|e server|
|000012d0| 20 61 6e 64 20 79 6f 75 | 20 73 68 6f 75 6c 64 20 | and you| should |
|000012e0| 6c 6f 6f 6b 20 61 74 20 | 74 68 65 73 65 20 63 6c |look at |these cl|
|000012f0| 6f 73 65 6c 79 20 74 6f | 20 75 6e 64 65 72 73 74 |osely to| underst|
|00001300| 61 6e 64 20 68 6f 77 20 | 74 68 65 79 20 77 6f 72 |and how |they wor|
|00001310| 6b 2e 0d 02 f7 09 46 6f | 72 20 65 78 61 6d 70 6c |k.....Fo|r exampl|
|00001320| 65 2c 20 73 75 70 70 6f | 73 65 20 79 6f 75 20 68 |e, suppo|se you h|
|00001330| 61 64 20 77 72 69 74 74 | 65 6e 20 61 20 66 75 6e |ad writt|en a fun|
|00001340| 63 74 69 6f 6e 20 63 61 | 6c 6c 65 64 20 43 61 6c |ction ca|lled Cal|
|00001350| 63 50 69 28 29 20 74 68 | 61 74 20 63 61 6c 63 75 |cPi() th|at calcu|
|00001360| 6c 61 74 65 73 20 b9 20 | 74 6f 20 61 72 62 69 74 |lates . |to arbit|
|00001370| 72 61 72 79 20 70 72 65 | 63 69 73 69 6f 6e 2c 20 |rary pre|cision, |
|00001380| 61 6e 64 20 79 6f 75 20 | 6e 65 65 64 65 64 20 74 |and you |needed t|
|00001390| 6f 20 63 61 6c 6c 20 74 | 68 69 73 20 66 75 6e 63 |o call t|his func|
|000013a0| 74 69 6f 6e 20 66 72 6f | 6d 20 77 69 74 68 69 6e |tion fro|m within|
|000013b0| 20 79 6f 75 72 20 45 71 | 75 61 74 69 6f 6e 53 6f | your Eq|uationSo|
|000013c0| 6c 76 65 72 20 70 72 6f | 67 72 61 6d 2e 20 20 53 |lver pro|gram. S|
|000013d0| 69 6e 63 65 20 43 61 6c | 63 50 69 28 29 20 69 73 |ince Cal|cPi() is|
|000013e0| 20 76 65 72 79 20 63 6f | 6d 70 75 74 61 74 69 6f | very co|mputatio|
|000013f0| 6e 61 6c 6c 79 20 69 6e | 74 65 6e 73 65 20 69 74 |nally in|tense it|
|00001400| 20 6e 65 65 64 73 20 61 | 20 6c 6f 74 20 6f 66 20 | needs a| lot of |
|00001410| 63 6f 6d 70 75 74 69 6e | 67 20 68 6f 72 73 65 2d |computin|g horse-|
|00001420| 70 6f 77 65 72 3b 20 69 | 6e 20 66 61 63 74 2c 20 |power; i|n fact, |
|00001430| 69 74 20 6e 65 65 64 73 | 20 61 20 43 72 61 79 20 |it needs| a Cray |
|00001440| 74 6f 20 65 78 65 63 75 | 74 65 20 77 69 74 68 20 |to execu|te with |
|00001450| 72 65 61 73 6f 6e 61 62 | 6c 65 20 70 65 72 66 6f |reasonab|le perfo|
|00001460| 72 6d 61 6e 63 65 2e 20 | 20 48 6f 77 65 76 65 72 |rmance. | However|
|00001470| 2c 20 79 6f 75 20 77 61 | 6e 74 20 70 65 6f 70 6c |, you wa|nt peopl|
|00001480| 65 20 74 6f 20 62 65 20 | 61 62 6c 65 20 74 6f 20 |e to be |able to |
|00001490| 75 73 65 20 45 71 75 61 | 74 69 6f 6e 53 6f 6c 76 |use Equa|tionSolv|
|000014a0| 65 72 20 6f 6e 20 61 20 | 73 6c 6f 77 20 4d 61 63 |er on a |slow Mac|
|000014b0| 69 6e 74 6f 73 68 2e 20 | 20 57 68 61 74 20 64 6f |intosh. | What do|
|000014c0| 20 79 6f 75 20 64 6f 3f | 20 20 59 6f 75 20 75 73 | you do?| You us|
|000014d0| 65 20 53 6f 66 74 54 61 | 6c 6b 20 74 6f 20 63 61 |e SoftTa|lk to ca|
|000014e0| 6c 6c 20 43 61 6c 63 50 | 69 28 29 20 72 65 6d 6f |ll CalcP|i() remo|
|000014f0| 74 65 6c 79 21 20 20 46 | 72 6f 6d 20 74 68 65 20 |tely! F|rom the |
|00001500| 4d 61 63 69 6e 74 6f 73 | 68 20 79 6f 75 20 74 65 |Macintos|h you te|
|00001510| 6c 6c 20 53 6f 66 74 54 | 61 6c 6b 20 74 6f 20 69 |ll SoftT|alk to i|
|00001520| 73 73 75 65 20 61 20 63 | 61 6c 6c 20 6f 76 65 72 |ssue a c|all over|
|00001530| 20 74 68 65 20 6e 65 74 | 77 6f 72 6b 20 74 6f 20 | the net|work to |
|00001540| 43 61 6c 63 50 69 28 29 | 20 6f 6e 20 74 68 65 20 |CalcPi()| on the |
|00001550| 43 72 61 79 2e 0d 09 54 | 68 75 73 2c 20 74 68 65 |Cray...T|hus, the|
|00001560| 20 43 72 61 79 20 62 65 | 63 6f 6d 65 73 20 61 20 | Cray be|comes a |
|00001570| ff 00 10 0c 02 f7 73 65 | 72 76 65 72 ff 00 10 0c |......se|rver....|
|00001580| 00 f7 20 74 68 61 74 20 | ff 00 10 0c 02 f7 65 78 |.. that |......ex|
|00001590| 70 6f 72 74 73 ff 00 10 | 0c 00 f7 20 43 61 6c 63 |ports...|... Calc|
|000015a0| 50 69 28 29 20 6f 76 65 | 72 20 74 68 65 20 6e 65 |Pi() ove|r the ne|
|000015b0| 74 77 6f 72 6b 20 61 6e | 64 20 74 68 65 20 4d 61 |twork an|d the Ma|
|000015c0| 63 69 6e 74 6f 73 68 20 | 62 65 63 6f 6d 65 73 20 |cintosh |becomes |
|000015d0| 61 20 ff 00 10 0c 02 f7 | 63 6c 69 65 6e 74 ff 00 |a ......|client..|
|000015e0| 10 0c 00 f7 20 74 68 61 | 74 20 63 61 6e 20 69 73 |.... tha|t can is|
|000015f0| 73 75 65 20 72 65 6d 6f | 74 65 20 70 72 6f 63 65 |sue remo|te proce|
|00001600| 64 75 72 65 20 63 61 6c | 6c 73 2e 0d 03 a3 0d ff |dure cal|ls......|
|00001610| 00 10 0c 02 f7 57 68 61 | 74 20 69 73 20 61 20 ff |.....Wha|t is a .|
|00001620| 00 10 0c 02 f7 73 65 72 | 76 65 72 3f ff 00 10 0c |.....ser|ver?....|
|00001630| 00 f7 0d 09 41 20 53 6f | 66 74 54 61 6c 6b 20 73 |....A So|ftTalk s|
|00001640| 65 72 76 65 72 20 65 78 | 70 6f 72 74 73 20 66 75 |erver ex|ports fu|
|00001650| 6e 63 74 69 6f 6e 73 20 | 74 6f 20 63 6c 69 65 6e |nctions |to clien|
|00001660| 74 73 20 6f 6e 20 74 68 | 65 20 6e 65 74 77 6f 72 |ts on th|e networ|
|00001670| 6b 2e 20 20 49 6e 20 6f | 72 64 65 72 20 74 6f 20 |k. In o|rder to |
|00001680| 65 78 70 6f 72 74 20 66 | 75 6e 63 74 69 6f 6e 73 |export f|unctions|
|00001690| 20 69 6e 20 79 6f 75 72 | 20 70 72 6f 67 72 61 6d | in your| program|
|000016a0| 20 79 6f 75 20 6d 75 73 | 74 20 62 65 63 6f 6d 65 | you mus|t become|
|000016b0| 20 61 20 73 65 72 76 65 | 72 2e 20 20 59 6f 75 20 | a serve|r. You |
|000016c0| 77 69 6c 6c 20 66 69 72 | 73 74 20 6e 65 65 64 20 |will fir|st need |
|000016d0| 74 6f 20 69 6e 69 74 69 | 61 6c 69 7a 65 20 53 6f |to initi|alize So|
|000016e0| 66 74 54 61 6c 6b 20 62 | 79 20 63 61 6c 6c 69 6e |ftTalk b|y callin|
|000016f0| 67 20 53 54 49 6e 69 74 | 69 61 6c 69 7a 65 28 29 |g STInit|ialize()|
|00001700| 2e 20 20 4e 65 78 74 2c | 20 79 6f 75 20 63 61 6e |. Next,| you can|
|00001710| 20 62 65 63 6f 6d 65 20 | 61 20 73 65 72 76 65 72 | become |a server|
|00001720| 20 62 79 20 63 61 6c 6c | 69 6e 67 20 53 54 4f 70 | by call|ing STOp|
|00001730| 65 6e 53 65 72 76 65 72 | 28 29 2e 20 20 49 6e 20 |enServer|(). In |
|00001740| 6f 72 64 65 72 20 66 6f | 72 20 63 6c 69 65 6e 74 |order fo|r client|
|00001750| 73 20 74 6f 20 66 69 6e | 64 20 79 6f 75 2c 20 79 |s to fin|d you, y|
|00001760| 6f 75 20 6d 75 73 74 20 | 61 6c 73 6f 20 68 61 76 |ou must |also hav|
|00001770| 65 20 61 20 6e 61 6d 65 | 3a 20 75 73 65 20 53 54 |e a name|: use ST|
|00001780| 41 6c 69 61 73 28 29 20 | 74 6f 20 61 73 73 69 67 |Alias() |to assig|
|00001790| 6e 20 61 20 6e 61 6d 65 | 20 74 6f 20 79 6f 75 72 |n a name| to your|
|000017a0| 20 73 65 72 76 65 72 2e | 20 20 54 68 69 73 20 77 | server.| This w|
|000017b0| 69 6c 6c 20 63 61 75 73 | 65 20 74 68 65 20 41 70 |ill caus|e the Ap|
|000017c0| 70 6c 65 54 61 6c 6b 20 | 4e 61 6d 65 20 42 69 6e |pleTalk |Name Bin|
|000017d0| 64 69 6e 67 20 50 72 6f | 74 6f 63 6f 6c 20 28 4e |ding Pro|tocol (N|
|000017e0| 42 50 29 20 74 6f 20 72 | 65 67 69 73 74 65 72 20 |BP) to r|egister |
|000017f0| 79 6f 75 72 20 6e 61 6d | 65 20 6f 6e 20 74 68 65 |your nam|e on the|
|00001800| 20 6e 65 74 77 6f 72 6b | 20 73 6f 20 74 68 61 74 | network| so that|
|00001810| 20 6f 74 68 65 72 20 6e | 6f 64 65 73 20 63 61 6e | other n|odes can|
|00001820| 20 73 65 65 20 69 74 20 | 20 28 53 65 65 20 74 68 | see it | (See th|
|00001830| 65 20 4e 42 50 20 64 6f | 63 75 6d 65 6e 74 61 74 |e NBP do|cumentat|
|00001840| 69 6f 6e 20 66 6f 72 20 | 74 68 65 20 66 6f 72 6d |ion for |the form|
|00001850| 61 74 20 6f 66 20 74 68 | 65 73 65 20 6e 61 6d 65 |at of th|ese name|
|00001860| 73 29 2e 20 20 46 69 6e | 61 6c 6c 79 2c 20 79 6f |s). Fin|ally, yo|
|00001870| 75 20 6d 75 73 74 20 65 | 78 70 6f 72 74 20 79 6f |u must e|xport yo|
|00001880| 75 72 20 66 75 6e 63 74 | 69 6f 6e 73 20 62 79 20 |ur funct|ions by |
|00001890| 72 65 67 69 73 74 65 72 | 69 6e 67 20 74 68 65 6d |register|ing them|
|000018a0| 20 77 69 74 68 20 53 6f | 66 74 54 61 6c 6b 3a 20 | with So|ftTalk: |
|000018b0| 63 61 6c 6c 20 53 54 52 | 65 67 69 73 74 65 72 28 |call STR|egister(|
|000018c0| 29 20 66 6f 72 20 65 61 | 63 68 20 66 75 6e 63 74 |) for ea|ch funct|
|000018d0| 69 6f 6e 20 74 68 61 74 | 20 79 6f 75 20 77 69 73 |ion that| you wis|
|000018e0| 68 20 74 6f 20 65 78 70 | 6f 72 74 2e 20 20 46 72 |h to exp|ort. Fr|
|000018f0| 6f 6d 20 74 68 65 6e 20 | 6f 6e 2c 20 79 6f 75 20 |om then |on, you |
|00001900| 63 61 6e 20 74 65 6c 6c | 20 53 6f 66 74 54 61 6c |can tell| SoftTal|
|00001910| 6b 20 74 68 61 74 20 79 | 6f 75 20 61 72 65 20 77 |k that y|ou are w|
|00001920| 69 6c 6c 69 6e 67 20 74 | 6f 20 61 63 63 65 70 74 |illing t|o accept|
|00001930| 20 61 6e 6f 74 68 65 72 | 20 66 75 6e 63 74 69 6f | another| functio|
|00001940| 6e 20 69 6e 76 6f 63 61 | 74 69 6f 6e 20 62 79 20 |n invoca|tion by |
|00001950| 63 61 6c 6c 69 6e 67 20 | 53 54 48 65 61 72 28 29 |calling |STHear()|
|00001960| 2e 20 20 57 68 65 6e 20 | 79 6f 75 72 20 73 65 72 |. When |your ser|
|00001970| 76 65 72 20 68 61 73 20 | 63 6f 6d 70 6c 65 74 65 |ver has |complete|
|00001980| 64 20 69 74 73 20 77 6f | 72 6b 20 69 74 20 6d 75 |d its wo|rk it mu|
|00001990| 73 74 20 63 6c 6f 73 65 | 20 69 74 73 65 6c 66 20 |st close| itself |
|000019a0| 75 73 69 6e 67 20 53 54 | 43 6c 6f 73 65 28 29 2e |using ST|Close().|
|000019b0| 0d 03 a8 49 6e 20 6f 72 | 64 65 72 20 74 6f 20 75 |...In or|der to u|
|000019c0| 73 65 20 74 68 69 73 20 | 70 61 63 6b 61 67 65 20 |se this |package |
|000019d0| 66 6f 6c 6c 6f 77 20 74 | 68 65 73 65 20 73 74 65 |follow t|hese ste|
|000019e0| 70 73 2e 0d a5 20 79 6f | 75 20 6d 75 73 74 20 61 |ps... yo|u must a|
|000019f0| 6c 72 65 61 64 79 20 68 | 61 76 65 20 61 20 63 6f |lready h|ave a co|
|00001a00| 70 79 20 6f 66 20 53 79 | 6d 61 6e 74 65 63 27 73 |py of Sy|mantec's|
|00001a10| 20 54 48 49 4e 4b 20 43 | 20 34 2e 30 2e 0d a5 20 | THINK C| 4.0... |
|00001a20| 74 68 65 20 66 69 6c 65 | 20 27 53 6f 66 74 54 61 |the file| 'SoftTa|
|00001a30| 6c 6b 27 20 69 73 20 61 | 6e 20 27 49 4e 49 54 27 |lk' is a|n 'INIT'|
|00001a40| 20 74 68 61 74 20 79 6f | 75 20 77 69 6c 6c 20 6e | that yo|u will n|
|00001a50| 65 65 64 20 74 6f 20 63 | 6f 70 79 20 69 6e 74 6f |eed to c|opy into|
|00001a60| 20 79 6f 75 72 20 53 79 | 73 74 65 6d 20 46 6f 6c | your Sy|stem Fol|
|00001a70| 64 65 72 2e 20 20 54 68 | 69 73 20 77 69 6c 6c 20 |der. Th|is will |
|00001a80| 63 61 75 73 65 20 74 68 | 65 20 53 6f 66 74 54 61 |cause th|e SoftTa|
|00001a90| 6c 6b 20 72 75 6e 74 69 | 6d 65 20 6d 6f 64 75 6c |lk runti|me modul|
|00001aa0| 65 20 74 6f 20 62 65 20 | 6c 6f 61 64 65 64 20 69 |e to be |loaded i|
|00001ab0| 6e 74 6f 20 6d 65 6d 6f | 72 79 20 77 68 65 6e 20 |nto memo|ry when |
|00001ac0| 79 6f 75 20 72 65 62 6f | 6f 74 20 79 6f 75 72 20 |you rebo|ot your |
|00001ad0| 63 6f 6d 70 75 74 65 72 | 2e 20 20 28 4e 4f 54 45 |computer|. (NOTE|
|00001ae0| 3a 20 69 66 20 79 6f 75 | 20 63 75 72 72 65 6e 74 |: if you| current|
|00001af0| 6c 79 20 68 61 76 65 20 | 54 4f 50 53 20 69 6e 73 |ly have |TOPS ins|
|00001b00| 74 61 6c 6c 65 64 20 6f | 6e 20 79 6f 75 72 20 6d |talled o|n your m|
|00001b10| 61 63 68 69 6e 65 2c 20 | 74 68 65 6e 20 79 6f 75 |achine, |then you|
|00001b20| 20 77 69 6c 6c 20 61 6c | 72 65 61 64 79 20 68 61 | will al|ready ha|
|00001b30| 76 65 20 61 20 76 65 72 | 73 69 6f 6e 20 6f 66 20 |ve a ver|sion of |
|00001b40| 53 6f 66 74 54 61 6c 6b | 20 69 6e 20 79 6f 75 72 |SoftTalk| in your|
|00001b50| 20 53 79 73 74 65 6d 20 | 46 6f 6c 64 65 72 2e 29 | System |Folder.)|
|00001b60| 0d a5 20 63 6f 70 79 20 | 74 68 65 20 66 6f 6c 64 |.. copy |the fold|
|00001b70| 65 72 20 63 61 6c 6c 65 | 64 20 27 53 6f 66 74 54 |er calle|d 'SoftT|
|00001b80| 61 6c 6b 20 43 20 49 6e | 74 65 72 66 61 63 65 20 |alk C In|terface |
|00001b90| 50 61 63 6b 61 67 65 27 | 20 74 6f 20 79 6f 75 72 |Package'| to your|
|00001ba0| 20 64 69 73 6b 2e 20 20 | 54 68 69 73 20 66 6f 6c | disk. |This fol|
|00001bb0| 64 65 72 20 63 6f 6e 74 | 61 69 6e 73 20 74 68 65 |der cont|ains the|
|00001bc0| 20 69 6e 74 65 72 66 61 | 63 65 20 6c 69 62 72 61 | interfa|ce libra|
|00001bd0| 72 79 2c 20 53 6f 66 74 | 54 61 6c 6b 2e 6c 69 62 |ry, Soft|Talk.lib|
|00001be0| 2c 20 74 68 65 20 69 6e | 74 65 72 66 61 63 65 20 |, the in|terface |
|00001bf0| 66 69 6c 65 2c 20 53 6f | 66 74 54 61 6c 6b 2e 68 |file, So|ftTalk.h|
|00001c00| 2c 20 74 68 65 20 73 61 | 6d 70 6c 65 20 73 65 72 |, the sa|mple ser|
|00001c10| 76 65 72 20 70 72 6f 6a | 65 63 74 2c 20 74 68 65 |ver proj|ect, the|
|00001c20| 20 73 61 6d 70 6c 65 20 | 63 6c 69 65 6e 74 20 70 | sample |client p|
|00001c30| 72 6f 6a 65 63 74 2c 20 | 61 6e 64 20 6f 74 68 65 |roject, |and othe|
|00001c40| 72 20 73 75 70 70 6f 72 | 74 69 6e 67 20 66 69 6c |r suppor|ting fil|
|00001c50| 65 73 2e 20 20 57 65 20 | 73 75 67 67 65 73 74 20 |es. We |suggest |
|00001c60| 74 68 61 74 20 79 6f 75 | 20 72 65 62 75 69 6c 64 |that you| rebuild|
|00001c70| 20 74 68 65 20 53 54 53 | 65 72 76 65 72 20 61 6e | the STS|erver an|
|00001c80| 64 20 53 54 43 6c 69 65 | 6e 74 20 61 70 70 6c 69 |d STClie|nt appli|
|00001c90| 63 61 74 69 6f 6e 73 20 | 61 6e 64 20 63 6f 6d 70 |cations |and comp|
|00001ca0| 61 72 65 20 74 68 65 6d | 20 74 6f 20 74 68 65 20 |are them| to the |
|00001cb0| 6f 6e 65 73 20 6f 6e 20 | 74 68 65 20 64 69 73 74 |ones on |the dist|
|00001cc0| 72 69 62 75 74 69 6f 6e | 20 64 69 73 6b 20 74 6f |ribution| disk to|
|00001cd0| 20 6d 61 6b 65 20 73 75 | 72 65 20 74 68 61 74 20 | make su|re that |
|00001ce0| 79 6f 75 20 68 61 76 65 | 20 74 68 65 20 63 6f 72 |you have| the cor|
|00001cf0| 72 65 63 74 20 6c 69 62 | 72 61 72 69 65 73 20 61 |rect lib|raries a|
|00001d00| 6e 64 20 73 6f 75 72 63 | 65 2d 63 6f 64 65 2e ff |nd sourc|e-code..|
|00001d10| 00 03 0c 00 f7 0d ff 00 | 10 0c 01 f7 0d 0d ff 00 |........|........|
|00001d20| 10 0c 01 f7 55 73 69 6e | 67 20 74 68 65 20 53 54 |....Usin|g the ST|
|00001d30| 53 65 72 76 65 72 20 61 | 6e 64 20 53 54 43 6c 69 |Server a|nd STCli|
|00001d40| 65 6e 74 20 61 70 70 6c | 69 63 61 74 69 6f 6e 73 |ent appl|ications|
|00001d50| ff 00 10 0c 00 f7 f9 00 | f7 3a 0d 02 8f ff 00 10 |........|.:......|
|00001d60| 0c 01 f7 4e 6f 74 65 73 | 20 6f 6e 20 41 73 73 65 |...Notes| on Asse|
|00001d70| 6d 62 6c 79 20 47 6c 75 | 65 ff 00 10 0c 00 f7 3a |mbly Glu|e......:|
|00001d80| 0d 09 41 6c 74 68 6f 75 | 67 68 20 61 6c 6c 20 74 |..Althou|gh all t|
|00001d90| 68 65 20 63 61 6c 6c 73 | 20 79 6f 75 20 6d 61 6b |he calls| you mak|
|00001da0| 65 20 74 6f 20 53 6f 66 | 74 54 61 6c 6b 20 66 72 |e to Sof|tTalk fr|
|00001db0| 6f 6d 20 79 6f 75 72 20 | 70 72 6f 67 72 61 6d 20 |om your |program |
|00001dc0| 77 69 6c 6c 20 62 65 20 | 73 74 61 6e 64 61 72 64 |will be |standard|
|00001dd0| 20 43 20 66 75 6e 63 74 | 69 6f 6e 20 63 61 6c 6c | C funct|ion call|
|00001de0| 73 2c 20 74 68 65 20 ff | 00 10 0c 04 f7 63 75 72 |s, the .|.....cur|
|00001df0| 72 65 6e 74 ff 00 10 0c | 00 f7 20 76 65 72 73 69 |rent....|.. versi|
|00001e00| 6f 6e 20 6f 66 20 53 6f | 66 74 54 61 6c 6b 20 70 |on of So|ftTalk p|
|00001e10| 61 73 73 65 73 20 61 72 | 67 75 6d 65 6e 74 73 20 |asses ar|guments |
|00001e20| 69 6e 20 72 65 67 69 73 | 74 65 72 73 20 77 68 65 |in regis|ters whe|
|00001e30| 6e 20 69 74 20 63 61 6c | 6c 73 20 66 75 6e 63 74 |n it cal|ls funct|
|00001e40| 69 6f 6e 73 2e 20 20 54 | 68 75 73 2c 20 79 6f 75 |ions. T|hus, you|
|00001e50| 20 77 69 6c 6c 20 6e 65 | 65 64 20 74 6f 20 77 72 | will ne|ed to wr|
|00001e60| 69 74 65 20 61 73 73 65 | 6d 62 6c 79 20 67 6c 75 |ite asse|mbly glu|
|00001e70| 65 20 74 6f 20 6d 6f 76 | 65 20 74 68 65 20 61 72 |e to mov|e the ar|
|00001e80| 67 75 6d 65 6e 74 73 20 | 66 72 6f 6d 20 74 68 65 |guments |from the|
|00001e90| 20 72 65 67 69 73 74 65 | 72 73 20 6f 6e 74 6f 20 | registe|rs onto |
|00001ea0| 74 68 65 20 73 74 61 63 | 6b 2c 20 77 68 65 72 65 |the stac|k, where|
|00001eb0| 20 61 20 43 20 66 75 6e | 63 74 69 6f 6e 20 65 78 | a C fun|ction ex|
|00001ec0| 70 65 63 74 73 20 74 68 | 65 6d 2e 20 20 54 68 69 |pects th|em. Thi|
|00001ed0| 73 20 74 65 63 68 6e 69 | 71 75 65 20 69 73 20 64 |s techni|que is d|
|00001ee0| 65 6d 6f 6e 73 74 72 61 | 74 65 64 20 69 6e 20 74 |emonstra|ted in t|
|00001ef0| 68 65 20 73 61 6d 70 6c | 65 73 2e 0d 09 49 6e 20 |he sampl|es...In |
|00001f00| 74 68 65 20 6e 65 61 72 | 20 66 75 74 75 72 65 20 |the near| future |
|00001f10| 77 65 20 70 6c 61 6e 20 | 74 6f 20 63 68 61 6e 67 |we plan |to chang|
|00001f20| 65 20 74 68 65 20 43 20 | 69 6e 74 65 72 66 61 63 |e the C |interfac|
|00001f30| 65 20 73 75 63 68 20 74 | 68 61 74 20 53 6f 66 74 |e such t|hat Soft|
|00001f40| 54 61 6c 6b 20 77 69 6c | 6c 20 6d 61 6b 65 20 73 |Talk wil|l make s|
|00001f50| 74 61 6e 64 61 72 64 20 | 43 20 66 75 6e 63 74 69 |tandard |C functi|
|00001f60| 6f 6e 20 63 61 6c 6c 73 | 2e 20 20 41 74 20 74 68 |on calls|. At th|
|00001f70| 61 74 20 74 69 6d 65 20 | 77 65 20 77 69 6c 6c 20 |at time |we will |
|00001f80| 70 72 6f 76 69 64 65 20 | 79 6f 75 20 77 69 74 68 |provide |you with|
|00001f90| 20 61 6e 20 75 70 64 61 | 74 65 64 20 76 65 72 73 | an upda|ted vers|
|00001fa0| 69 6f 6e 20 6f 66 20 53 | 6f 66 74 54 61 6c 6b 2e |ion of S|oftTalk.|
|00001fb0| 6c 69 62 2e 20 20 59 6f | 75 20 77 69 6c 6c 20 74 |lib. Yo|u will t|
|00001fc0| 68 65 6e 20 6e 6f 20 6c | 6f 6e 67 65 72 20 6e 65 |hen no l|onger ne|
|00001fd0| 65 64 20 61 73 73 65 6d | 62 6c 79 20 67 6c 75 65 |ed assem|bly glue|
|00001fe0| 2e 20 20 0d 0d ff 00 10 | 0c 01 f7 0d 03 b0 ff 00 |. .....|........|
|00001ff0| 10 0c 01 f7 4e 6f 74 65 | 73 20 6f 6e 20 41 72 67 |....Note|s on Arg|
|00002000| 75 6d 65 6e 74 20 53 69 | 7a 65 ff 00 10 0c 00 f7 |ument Si|ze......|
|00002010| 3a 0d 09 54 68 65 20 ff | 00 10 0c 04 f7 63 75 72 |:..The .|.....cur|
|00002020| 72 65 6e 74 ff 00 10 0c | 00 f7 20 76 65 72 73 69 |rent....|.. versi|
|00002030| 6f 6e 20 6f 66 20 53 6f | 66 74 54 61 6c 6b 20 70 |on of So|ftTalk p|
|00002040| 61 73 73 65 73 20 61 6c | 6c 20 69 6e 74 65 67 65 |asses al|l intege|
|00002050| 72 20 61 6e 64 20 70 6f | 69 6e 74 65 72 20 61 72 |r and po|inter ar|
|00002060| 67 75 6d 65 6e 74 73 20 | 61 73 20 34 2d 62 79 74 |guments |as 4-byt|
|00002070| 65 20 76 61 6c 75 65 73 | 2e 20 20 54 6f 20 65 6e |e values|. To en|
|00002080| 73 75 72 65 20 74 68 61 | 74 20 53 6f 66 74 54 61 |sure tha|t SoftTa|
|00002090| 6c 6b 20 69 6e 74 65 72 | 70 72 65 74 73 20 79 6f |lk inter|prets yo|
|000020a0| 75 72 20 61 72 67 75 6d | 65 6e 74 73 20 63 6f 72 |ur argum|ents cor|
|000020b0| 72 65 63 74 6c 79 2c 20 | 62 65 20 73 75 72 65 20 |rectly, |be sure |
|000020c0| 74 6f 20 63 61 73 74 20 | 61 6c 6c 20 61 72 67 75 |to cast |all argu|
|000020d0| 6d 65 6e 74 73 20 74 6f | 20 34 2d 62 79 74 65 20 |ments to| 4-byte |
|000020e0| 76 61 6c 75 65 73 2e 20 | 20 41 20 73 70 65 63 69 |values. | A speci|
|000020f0| 61 6c 20 74 79 70 65 2c | 20 53 54 41 72 67 2c 20 |al type,| STArg, |
|00002100| 68 61 73 20 62 65 65 6e | 20 70 72 65 64 65 63 6c |has been| predecl|
|00002110| 61 72 65 64 20 69 6e 20 | 53 6f 66 74 54 61 6c 6b |ared in |SoftTalk|
|00002120| 2e 68 20 74 68 61 74 20 | 79 6f 75 20 63 61 6e 20 |.h that |you can |
|00002130| 75 73 65 20 66 6f 72 20 | 74 68 69 73 20 70 75 72 |use for |this pur|
|00002140| 70 6f 73 65 2e 20 20 54 | 68 65 20 73 61 6d 70 6c |pose. T|he sampl|
|00002150| 65 20 63 6c 69 65 6e 74 | 20 69 6c 6c 75 73 74 72 |e client| illustr|
|00002160| 61 74 65 73 20 68 6f 77 | 20 74 68 69 73 20 73 68 |ates how| this sh|
|00002170| 6f 75 6c 64 20 62 65 20 | 64 6f 6e 65 20 69 6e 20 |ould be |done in |
|00002180| 74 68 65 20 63 61 6c 6c | 73 20 74 6f 20 53 54 41 |the call|s to STA|
|00002190| 73 6b 28 29 2e 20 20 0d | ff 00 10 0c 01 f7 0d 0d |sk(). .|........|
|000021a0| ff 00 10 0c 01 f7 4e 6f | 74 65 73 20 6f 6e 20 41 |......No|tes on A|
|000021b0| 63 63 65 73 73 69 6e 67 | 20 47 6c 6f 62 61 6c 73 |ccessing| Globals|
|000021c0| 20 69 6e 20 53 65 72 76 | 69 63 65 20 52 6f 75 74 | in Serv|ice Rout|
|000021d0| 69 6e 65 73 ff 00 10 0c | 00 f7 3a 0d 09 53 69 6e |ines....|..:..Sin|
|000021e0| 63 65 20 72 6f 75 74 69 | 6e 65 73 20 74 68 61 74 |ce routi|nes that|
|000021f0| 20 61 72 65 20 63 61 6c | 6c 65 64 20 62 79 20 53 | are cal|led by S|
|00002200| 6f 66 74 54 61 6c 6b 2c | 20 73 75 63 68 20 61 73 |oftTalk,| such as|
|00002210| 20 65 78 70 6f 72 74 65 | 64 20 73 65 72 76 65 72 | exporte|d server|
|00002220| 20 66 75 6e 63 74 69 6f | 6e 73 20 61 6e 64 20 6e | functio|ns and n|
|00002230| 6f 74 69 66 79 20 66 75 | 6e 63 74 69 6f 6e 73 2c |otify fu|nctions,|
|00002240| 20 63 61 6e 20 62 65 20 | 63 61 6c 6c 65 64 20 61 | can be |called a|
|00002250| 74 20 69 6e 74 65 72 72 | 75 70 74 20 74 69 6d 65 |t interr|upt time|
|00002260| 2c 20 79 6f 75 20 6e 65 | 65 64 20 74 6f 20 62 65 |, you ne|ed to be|
|00002270| 20 63 61 72 65 66 75 6c | 20 77 68 65 6e 20 61 63 | careful| when ac|
|00002280| 63 65 73 73 69 6e 67 20 | 67 6c 6f 62 61 6c 20 76 |cessing |global v|
|00002290| 61 72 69 61 62 6c 65 73 | 2e 20 20 41 73 20 75 73 |ariables|. As us|
|000022a0| 75 61 6c 20 6f 6e 20 74 | 68 65 20 4d 61 63 69 6e |ual on t|he Macin|
|000022b0| 74 6f 73 68 2c 20 79 6f | 75 20 6e 65 65 64 20 74 |tosh, yo|u need t|
|000022c0| 6f 20 65 6e 73 75 72 65 | 20 74 68 61 74 20 79 6f |o ensure| that yo|
|000022d0| 75 72 20 41 35 2d 77 6f | 72 6c 64 20 69 73 20 63 |ur A5-wo|rld is c|
|000022e0| 6f 72 72 65 63 74 2e 20 | 20 54 68 65 20 73 61 6d |orrect. | The sam|
|000022f0| 70 6c 65 73 20 73 68 6f | 77 20 68 6f 77 20 74 68 |ples sho|w how th|
|00002300| 69 73 20 63 61 6e 20 62 | 65 20 64 6f 6e 65 2e ff |is can b|e done..|
|00002310| 00 10 0c 01 f7 0d 0d 0d | 43 6f 6e 74 61 63 74 ff |........|Contact.|
|00002320| 00 10 0c 00 f7 3a 0d 49 | 6e 20 63 61 73 65 20 79 |.....:.I|n case y|
|00002330| 6f 75 20 72 75 6e 20 69 | 6e 74 6f 20 70 72 6f 62 |ou run i|nto prob|
|00002340| 6c 65 6d 73 20 77 69 74 | 68 20 74 68 69 73 20 70 |lems wit|h this p|
|00002350| 61 63 6b 61 67 65 2c 20 | 79 6f 75 20 63 61 6e 20 |ackage, |you can |
|00002360| 63 6f 6e 74 61 63 74 20 | 4d 69 63 68 61 65 6c 20 |contact |Michael |
|00002370| 43 6f 68 65 6e 2c 20 4d | 61 63 69 6e 74 6f 73 68 |Cohen, M|acintosh|
|00002380| 20 53 6f 66 74 77 61 72 | 65 20 45 6e 67 69 6e 65 | Softwar|e Engine|
|00002390| 65 72 2c 20 20 61 74 20 | 54 4f 50 53 2e 0d 03 65 |er, at |TOPS...e|
|000023a0| 09 54 68 65 20 74 77 6f | 20 66 69 6c 65 73 20 53 |.The two| files S|
|000023b0| 54 43 6c 69 65 6e 74 2e | 63 20 61 6e 64 20 53 54 |TClient.|c and ST|
|000023c0| 43 6c 69 65 6e 74 2e 68 | 20 69 6d 70 6c 65 6d 65 |Client.h| impleme|
|000023d0| 6e 74 20 74 68 65 20 73 | 61 6d 70 6c 65 20 63 6c |nt the s|ample cl|
|000023e0| 69 65 6e 74 20 61 6e 64 | 20 79 6f 75 20 73 68 6f |ient and| you sho|
|000023f0| 75 6c 64 20 6c 6f 6f 6b | 20 61 74 20 74 68 65 73 |uld look| at thes|
|00002400| 65 20 63 6c 6f 73 65 6c | 79 20 74 6f 20 75 6e 64 |e closel|y to und|
|00002410| 65 72 73 74 61 6e 64 20 | 68 6f 77 20 74 68 65 79 |erstand |how they|
|00002420| 20 77 6f 72 6b 2e 0d 09 | 49 6e 20 61 64 64 69 74 | work...|In addit|
|00002430| 69 6f 6e 2c 20 74 68 65 | 72 65 20 61 72 65 20 71 |ion, the|re are q|
|00002440| 75 69 74 65 20 61 20 66 | 65 77 20 66 69 6c 65 73 |uite a f|ew files|
|00002450| 20 69 6e 20 74 68 65 20 | 70 72 6f 6a 65 63 74 20 | in the |project |
|00002460| 74 68 61 74 20 61 72 65 | 20 69 6e 63 6c 75 64 65 |that are| include|
|00002470| 64 20 69 6e 20 6f 72 64 | 65 72 20 74 6f 20 70 72 |d in ord|er to pr|
|00002480| 6f 76 69 64 65 20 74 68 | 65 20 73 74 61 6e 64 61 |ovide th|e standa|
|00002490| 72 64 20 4d 61 63 69 6e | 74 6f 73 68 20 75 73 65 |rd Macin|tosh use|
|000024a0| 72 2d 69 6e 74 65 72 66 | 61 63 65 2e 20 20 54 68 |r-interf|ace. Th|
|000024b0| 69 73 20 66 69 6c 65 73 | 20 69 6e 63 6c 75 64 65 |is files| include|
|000024c0| 20 74 68 65 20 68 65 61 | 64 65 72 20 66 69 6c 65 | the hea|der file|
|000024d0| 73 20 69 6e 20 74 68 65 | 20 66 6f 6c 64 65 72 20 |s in the| folder |
|000024e0| 22 4d 69 6e 69 4d 61 63 | 41 70 70 20 48 65 61 64 |"MiniMac|App Head|
|000024f0| 65 72 73 22 2c 20 74 68 | 65 20 6c 69 62 72 61 72 |ers", th|e librar|
|00002500| 79 20 22 4d 69 6e 69 4d | 61 63 41 70 70 2e 6c 69 |y "MiniM|acApp.li|
|00002510| 62 22 2c 20 61 6e 64 20 | 74 68 65 20 66 69 6c 65 |b", and |the file|
|00002520| 73 20 43 53 54 43 6c 69 | 65 6e 74 41 70 70 2e 63 |s CSTCli|entApp.c|
|00002530| 2c 20 43 53 54 43 6c 69 | 65 6e 74 41 70 70 2e 68 |, CSTCli|entApp.h|
|00002540| 2c 20 4d 53 54 43 6c 69 | 65 6e 74 41 70 70 2e 63 |, MSTCli|entApp.c|
|00002550| 2c 20 43 53 54 53 65 72 | 76 65 72 41 70 70 2e 63 |, CSTSer|verApp.c|
|00002560| 2c 20 43 53 54 53 65 72 | 76 65 72 41 70 70 2e 68 |, CSTSer|verApp.h|
|00002570| 2c 20 4d 53 54 53 65 72 | 76 65 72 41 70 70 2e 63 |, MSTSer|verApp.c|
|00002580| 2e 20 20 53 69 6e 63 65 | 20 74 68 65 73 65 20 61 |. Since| these a|
|00002590| 72 65 20 6e 6f 74 20 72 | 65 6c 61 74 65 64 20 74 |re not r|elated t|
|000025a0| 6f 20 53 6f 66 74 54 61 | 6c 6b 2c 20 74 68 65 79 |o SoftTa|lk, they|
|000025b0| 20 73 68 6f 75 6c 64 20 | 62 65 20 6f 66 20 6e 6f | should |be of no|
|000025c0| 20 6d 61 6a 6f 72 20 69 | 6e 74 65 72 65 73 74 20 | major i|nterest |
|000025d0| 74 6f 20 79 6f 75 2e 0d | fc 00 48 02 1c 00 48 00 |to you..|..H...H.|
|000025e0| 0c 01 b0 f7 0d ff 00 10 | 0c 01 f7 0d ff 00 10 0c |........|........|
|000025f0| 01 f7 53 6f 66 74 54 61 | 6c 6b 20 42 61 73 69 63 |..SoftTa|lk Basic|
|00002600| 73 ff 00 10 0c 00 f7 3a | 0d ff 00 10 0c 02 f7 57 |s......:|.......W|
|00002610| 68 61 74 20 69 73 20 53 | 6f 66 74 54 61 6c 6b 3f |hat is S|oftTalk?|
|00002620| ff 00 10 0c 00 f7 0d 09 | 53 6f 66 74 54 61 6c 6b |........|SoftTalk|
|00002630| 20 69 73 20 61 20 52 65 | 6d 6f 74 65 20 50 72 6f | is a Re|mote Pro|
|00002640| 63 65 64 75 72 65 20 43 | 61 6c 6c 20 28 52 50 43 |cedure C|all (RPC|
|00002650| 29 20 70 72 6f 74 6f 63 | 6f 6c 2e 20 20 54 68 69 |) protoc|ol. Thi|
|00002660| 73 20 6d 65 61 6e 73 20 | 74 68 61 74 20 53 6f 66 |s means |that Sof|
|00002670| 74 54 61 6c 6b 20 70 72 | 6f 76 69 64 65 73 20 70 |tTalk pr|ovides p|
|00002680| 72 6f 67 72 61 6d 73 20 | 77 69 74 68 20 74 68 65 |rograms |with the|
|00002690| 20 63 61 70 61 62 69 6c | 69 74 79 20 6f 66 20 63 | capabil|ity of c|
|000026a0| 61 6c 6c 69 6e 67 20 61 | 20 66 75 6e 63 74 69 6f |alling a| functio|
|000026b0| 6e 20 6f 6e 20 61 20 64 | 69 66 66 65 72 65 6e 74 |n on a d|ifferent|
|000026c0| 20 63 6f 6d 70 75 74 65 | 72 20 28 61 6c 6d 6f 73 | compute|r (almos|
|000026d0| 74 29 20 61 73 20 69 66 | 20 69 74 20 77 65 72 65 |t) as if| it were|
|000026e0| 20 61 20 66 75 6e 63 74 | 69 6f 6e 20 77 69 74 68 | a funct|ion with|
|000026f0| 69 6e 20 74 68 65 20 73 | 61 6d 65 20 70 72 6f 67 |in the s|ame prog|
|00002700| 72 61 6d 2e 0d 03 1f 0d | ff 00 10 0c 02 f7 57 68 |ram.....|......Wh|
|00002710| 61 74 20 69 73 20 61 20 | 63 6c 69 65 6e 74 3f ff |at is a |client?.|
|00002720| 00 10 0c 00 f7 0d 09 41 | 20 53 6f 66 74 54 61 6c |.......A| SoftTal|
|00002730| 6b 20 63 6c 69 65 6e 74 | 20 63 61 6e 20 63 61 6c |k client| can cal|
|00002740| 6c 20 66 75 6e 63 74 69 | 6f 6e 73 20 70 72 6f 76 |l functi|ons prov|
|00002750| 69 64 65 64 20 62 79 20 | 61 20 53 6f 66 74 54 61 |ided by |a SoftTa|
|00002760| 6c 6b 20 73 65 72 76 65 | 72 2e 20 20 59 6f 75 20 |lk serve|r. You |
|00002770| 77 69 6c 6c 20 6e 65 65 | 64 20 74 6f 20 69 6e 69 |will nee|d to ini|
|00002780| 74 69 61 6c 69 7a 65 20 | 53 6f 66 74 54 61 6c 6b |tialize |SoftTalk|
|00002790| 20 62 79 20 63 61 6c 6c | 69 6e 67 20 53 54 49 6e | by call|ing STIn|
|000027a0| 69 74 69 61 6c 69 7a 65 | 28 29 2e 20 20 54 68 65 |itialize|(). The|
|000027b0| 20 6e 65 78 74 20 73 74 | 65 70 20 69 73 20 64 69 | next st|ep is di|
|000027c0| 73 63 6f 76 65 72 69 6e | 67 20 74 68 65 20 73 65 |scoverin|g the se|
|000027d0| 72 76 65 72 20 77 65 20 | 77 61 6e 74 2e 20 20 54 |rver we |want. T|
|000027e0| 68 65 20 66 75 6e 63 74 | 69 6f 6e 20 53 54 4c 69 |he funct|ion STLi|
|000027f0| 73 74 28 29 20 69 73 20 | 75 73 65 64 20 74 6f 20 |st() is |used to |
|00002800| 6f 62 74 61 69 6e 20 61 | 20 6c 69 73 74 20 6f 66 |obtain a| list of|
|00002810| 20 61 6c 6c 20 73 65 72 | 76 65 72 73 20 6f 6e 20 | all ser|vers on |
|00002820| 74 68 65 20 6e 65 74 77 | 6f 72 6b 20 74 68 61 74 |the netw|ork that|
|00002830| 20 6d 61 74 63 68 20 61 | 20 63 65 72 74 61 69 6e | match a| certain|
|00002840| 20 6e 61 6d 65 20 73 70 | 65 63 69 66 69 63 61 74 | name sp|ecificat|
|00002850| 69 6f 6e 2c 20 73 75 63 | 68 20 61 73 20 22 3d 3a |ion, suc|h as "=:|
|00002860| 53 51 4c 20 53 65 72 76 | 65 72 3a 2a 22 20 28 53 |SQL Serv|er:*" (S|
|00002870| 65 65 20 74 68 65 20 4e | 42 50 20 64 6f 63 75 6d |ee the N|BP docum|
|00002880| 65 6e 74 61 74 69 6f 6e | 20 66 6f 72 20 61 6e 20 |entation| for an |
|00002890| 65 78 70 6c 61 6e 61 74 | 69 6f 6e 20 6f 66 20 77 |explanat|ion of w|
|000028a0| 68 61 74 20 74 68 73 69 | 20 6d 65 61 6e 73 29 2e |hat thsi| means).|
|000028b0| 20 20 4f 6e 63 65 20 61 | 20 73 70 65 63 69 66 69 | Once a| specifi|
|000028c0| 63 20 73 65 72 76 65 72 | 20 68 61 73 20 62 65 65 |c server| has bee|
|000028d0| 6e 20 6c 6f 63 61 74 65 | 64 2c 20 74 68 65 20 63 |n locate|d, the c|
|000028e0| 6c 69 65 6e 74 20 6d 75 | 73 74 20 6f 70 65 6e 20 |lient mu|st open |
|000028f0| 61 20 63 6f 6e 6e 65 63 | 74 69 6f 6e 20 74 6f 20 |a connec|tion to |
|00002900| 74 68 65 20 73 65 72 76 | 65 72 20 77 69 74 68 20 |the serv|er with |
|00002910| 74 68 65 20 53 54 4f 70 | 65 6e 53 65 73 73 69 6f |the STOp|enSessio|
|00002920| 6e 28 29 20 63 61 6c 6c | 2e 20 20 57 65 20 63 61 |n() call|. We ca|
|00002930| 6e 20 6e 6f 77 20 65 78 | 65 63 75 74 65 20 66 75 |n now ex|ecute fu|
|00002940| 6e 63 74 69 6f 6e 73 20 | 72 65 6d 6f 74 65 6c 79 |nctions |remotely|
|00002950| 20 62 79 20 69 73 73 75 | 69 6e 67 20 74 68 65 20 | by issu|ing the |
|00002960| 53 54 41 73 6b 28 29 20 | 63 61 6c 6c 20 28 6f 72 |STAsk() |call (or|
|00002970| 20 74 68 65 20 53 54 41 | 73 79 6e 63 28 29 20 63 | the STA|sync() c|
|00002980| 61 6c 6c 20 66 6f 72 20 | 61 73 79 6e 63 68 72 6f |all for |asynchro|
|00002990| 6e 6f 75 73 20 72 65 71 | 75 65 73 74 73 29 2e 20 |nous req|uests). |
|000029a0| 20 57 68 65 6e 20 77 65 | 20 68 61 76 65 20 63 6f | When we| have co|
|000029b0| 6d 70 6c 65 74 65 64 20 | 61 6c 6c 20 72 65 6d 6f |mpleted |all remo|
|000029c0| 74 65 20 63 61 6c 6c 73 | 20 77 65 20 64 69 73 63 |te calls| we disc|
|000029d0| 6f 6e 6e 65 63 74 20 66 | 72 6f 6d 20 74 68 65 20 |onnect f|rom the |
|000029e0| 73 65 72 76 65 72 20 77 | 69 74 68 20 74 68 65 20 |server w|ith the |
|000029f0| 53 54 43 6c 6f 73 65 53 | 65 73 73 69 6f 6e 20 63 |STCloseS|ession c|
|00002a00| 61 6c 6c 2e 0d 0d 0d ff | 00 10 0c 01 f7 55 73 69 |all.....|.....Usi|
|00002a10| 6e 67 20 74 68 65 20 50 | 61 63 6b 61 67 65 ff 00 |ng the P|ackage..|
|00002a20| 10 0c 00 f7 3a 0d 03 7f | 09 54 68 65 20 74 77 6f |....:...|.The two|
|00002a30| 20 61 70 70 6c 69 63 61 | 74 69 6f 6e 73 20 63 6f | applica|tions co|
|00002a40| 6e 74 61 69 6e 65 64 20 | 6f 6e 20 74 68 65 20 64 |ntained |on the d|
|00002a50| 69 73 74 72 69 62 75 74 | 69 6f 6e 20 64 69 73 6b |istribut|ion disk|
|00002a60| 20 61 72 65 20 74 68 65 | 20 73 61 6d 70 6c 65 20 | are the| sample |
|00002a70| 73 65 72 76 65 72 20 61 | 6e 64 20 73 61 6d 70 6c |server a|nd sampl|
|00002a80| 65 20 63 6c 69 65 6e 74 | 2e 20 20 49 6e 20 6f 72 |e client|. In or|
|00002a90| 64 65 72 20 74 6f 20 75 | 73 65 20 74 68 65 6d 2c |der to u|se them,|
|00002aa0| 20 63 6f 70 79 20 74 68 | 65 20 73 65 72 76 65 72 | copy th|e server|
|00002ab0| 20 53 54 53 65 72 76 65 | 72 20 74 6f 20 6f 6e 65 | STServe|r to one|
|00002ac0| 20 63 6f 6d 70 75 74 65 | 72 20 61 6e 64 20 74 68 | compute|r and th|
|00002ad0| 65 20 63 6c 69 65 6e 74 | 20 53 54 43 6c 69 65 6e |e client| STClien|
|00002ae0| 74 20 74 6f 20 61 20 73 | 65 63 6f 6e 64 20 63 6f |t to a s|econd co|
|00002af0| 6d 70 75 74 65 72 2e 20 | 20 53 74 61 72 74 20 75 |mputer. | Start u|
|00002b00| 70 20 74 68 65 20 73 65 | 72 76 65 72 20 61 6e 64 |p the se|rver and|
|00002b10| 20 63 68 6f 6f 73 65 20 | 22 4f 70 65 6e 22 20 69 | choose |"Open" i|
|00002b20| 6e 20 74 68 65 20 22 53 | 65 72 76 65 72 22 20 6d |n the "S|erver" m|
|00002b30| 65 6e 75 2e 20 20 59 6f | 75 20 63 61 6e 20 6e 6f |enu. Yo|u can no|
|00002b40| 77 20 6c 61 75 6e 63 68 | 20 61 20 63 6c 69 65 6e |w launch| a clien|
|00002b50| 74 20 6f 6e 20 61 20 73 | 65 63 6f 6e 64 20 63 6f |t on a s|econd co|
|00002b60| 6d 70 75 74 65 72 2e 20 | 20 43 68 6f 6f 73 65 20 |mputer. | Choose |
|00002b70| 22 4f 70 65 6e 22 20 66 | 72 6f 6d 20 74 68 65 20 |"Open" f|rom the |
|00002b80| 22 43 6c 69 65 6e 74 22 | 20 6d 65 6e 75 2e 20 20 |"Client"| menu. |
|00002b90| 54 68 69 73 20 73 68 6f | 75 6c 64 20 6f 70 65 6e |This sho|uld open|
|00002ba0| 20 61 20 73 65 73 73 69 | 6f 6e 20 62 65 74 77 65 | a sessi|on betwe|
|00002bb0| 65 6e 20 74 68 65 20 63 | 6c 69 65 6e 74 20 61 6e |en the c|lient an|
|00002bc0| 64 20 74 68 65 20 73 65 | 72 76 65 72 3b 20 74 68 |d the se|rver; th|
|00002bd0| 65 20 63 6c 69 65 6e 74 | 20 77 72 69 74 65 73 20 |e client| writes |
|00002be0| 61 20 6d 65 73 73 61 67 | 65 20 69 6e 20 69 74 73 |a messag|e in its|
|00002bf0| 20 77 69 6e 64 6f 77 20 | 69 6e 64 69 63 61 74 69 | window |indicati|
|00002c00| 6e 67 20 74 68 61 74 20 | 74 68 65 20 73 65 73 73 |ng that |the sess|
|00002c10| 69 6f 6e 73 20 68 61 73 | 20 62 65 65 6e 20 6f 70 |ions has| been op|
|00002c20| 65 6e 65 64 20 73 75 63 | 63 65 73 73 66 75 6c 6c |ened suc|cessfull|
|00002c30| 79 2c 20 61 6e 64 20 74 | 68 65 20 73 65 72 76 65 |y, and t|he serve|
|00002c40| 72 20 77 72 69 74 65 73 | 20 61 20 6d 65 73 73 61 |r writes| a messa|
|00002c50| 67 65 20 69 6e 20 69 74 | 73 20 77 69 6e 64 6f 77 |ge in it|s window|
|00002c60| 20 69 6e 64 69 63 61 74 | 69 6e 67 20 74 68 61 74 | indicat|ing that|
|00002c70| 20 61 20 73 65 73 73 69 | 6f 6e 20 68 61 73 20 62 | a sessi|on has b|
|00002c80| 65 65 6e 20 61 63 63 65 | 70 74 65 64 2e 20 20 59 |een acce|pted. Y|
|00002c90| 6f 75 20 63 61 6e 20 6e | 6f 77 20 65 78 65 63 75 |ou can n|ow execu|
|00002ca0| 74 65 20 66 75 6e 63 74 | 69 6f 6e 73 20 6f 6e 20 |te funct|ions on |
|00002cb0| 74 68 65 20 73 65 72 76 | 65 72 20 62 79 20 73 65 |the serv|er by se|
|00002cc0| 6c 65 63 74 69 6e 67 20 | 6f 6e 65 20 6f 66 20 74 |lecting |one of t|
|00002cd0| 68 65 20 6d 65 6e 75 20 | 69 74 65 6d 73 20 22 46 |he menu |items "F|
|00002ce0| 75 6e 63 31 22 20 74 68 | 72 6f 75 67 68 20 22 46 |unc1" th|rough "F|
|00002cf0| 75 6e 63 35 22 20 6f 6e | 20 74 68 65 20 63 6c 69 |unc5" on| the cli|
|00002d00| 65 6e 74 27 73 20 22 43 | 6c 69 65 6e 74 22 20 6d |ent's "C|lient" m|
|00002d10| 65 6e 75 2e 20 20 41 74 | 20 65 61 63 68 20 69 6e |enu. At| each in|
|00002d20| 76 6f 63 61 74 69 6f 6e | 20 74 68 65 20 73 65 72 |vocation| the ser|
|00002d30| 76 65 72 20 73 68 6f 75 | 6c 64 20 64 69 73 70 6c |ver shou|ld displ|
|00002d40| 61 79 20 74 68 65 20 70 | 61 72 61 6d 65 74 65 72 |ay the p|arameter|
|00002d50| 73 20 69 74 20 72 65 63 | 65 69 76 65 64 20 66 72 |s it rec|eived fr|
|00002d60| 6f 6d 20 74 68 65 20 63 | 6c 69 65 6e 74 2c 20 61 |om the c|lient, a|
|00002d70| 6e 64 20 74 68 65 20 63 | 6c 69 65 6e 74 20 73 68 |nd the c|lient sh|
|00002d80| 6f 75 6c 64 20 64 69 73 | 70 6c 61 79 20 74 68 65 |ould dis|play the|
|00002d90| 20 66 75 6e 63 74 69 6f | 6e 20 72 65 73 75 6c 74 | functio|n result|
|00002da0| 20 63 6f 64 65 2e 0d 00 | 01 0d 00 60 fc 00 48 02 | code...|...`..H.|
|00002db0| 1c 00 48 00 0c 01 f0 08 | f7 50 68 6f 6e 65 3a 09 |..H.....|.Phone:.|
|00002dc0| 28 34 31 35 29 20 37 36 | 39 2d 32 37 35 34 0d 65 |(415) 76|9-2754.e|
|00002dd0| 2d 6d 61 69 6c 3a 09 63 | 6f 68 65 6e 40 73 61 6e |-mail:.c|ohen@san|
|00002de0| 74 61 5f 66 65 2e 65 62 | 61 79 2e 73 75 6e 2e 63 |ta_fe.eb|ay.sun.c|
|00002df0| 6f 6d ff 00 03 0c 00 f7 | 0d fc 00 48 02 1c 00 48 |om......|...H...H|
|00002e00| 00 0c 01 b0 f7 ff 00 10 | 0c 00 f7 0d 03 5b ff 00 |........|.....[..|
|00002e10| 10 0a 00 f7 09 31 2e 30 | 2e 31 09 20 32 39 2d 41 |.....1.0|.1. 29-A|
|00002e20| 75 67 2d 38 39 09 4d 41 | 43 09 46 69 72 73 74 20 |ug-89.MA|C.First |
|00002e30| 44 72 61 66 74 ff 00 03 | 0a 00 f7 0d fc 00 48 01 |Draft...|......H.|
|00002e40| ee 00 48 00 0c 02 c0 03 | 40 03 c4 04 44 04 c8 05 |..H.....|@...D...|
|00002e50| 48 05 c8 06 4c 06 cc 07 | 50 f7 ff 00 03 0c 00 f7 |H...L...|P.......|
|00002e60| fe 00 06 01 d6 00 30 f0 | 0f f0 0f f0 0f f0 0f 00 |......0.|........|
|00002e70| 05 01 d5 11 01 a0 00 82 | 01 00 0a f0 0f f0 0f f0 |........|........|
|00002e80| 0f f0 0f 00 05 01 d5 20 | 00 01 00 01 00 01 01 d4 |....... |........|
|00002e90| 20 00 03 00 01 00 03 01 | d4 a0 00 83 f0 0f f7 0d | .......|........|
|00002ea0| fc 00 48 02 1c 00 48 00 | 0c 01 b0 f7 ff 00 10 0c |..H...H.|........|
|00002eb0| 01 f7 0d ff 00 10 0c 06 | f7 0d 57 41 52 4e 49 4e |........|..WARNIN|
|00002ec0| 47 ff 00 10 0c 02 f7 3a | 20 20 54 68 69 73 20 70 |G......:| This p|
|00002ed0| 61 63 6b 61 67 65 20 69 | 73 20 70 72 65 6c 69 6d |ackage i|s prelim|
|00002ee0| 69 6e 61 72 79 2e 20 20 | 42 6f 74 68 20 74 68 65 |inary. |Both the|
|00002ef0| 20 69 6e 66 6f 72 6d 61 | 74 69 6f 6e 20 69 6e 20 | informa|tion in |
|00002f00| 74 68 69 73 20 64 6f 63 | 75 6d 65 6e 74 20 61 6e |this doc|ument an|
|00002f10| 64 20 74 68 65 20 73 6f | 66 74 77 61 72 65 20 69 |d the so|ftware i|
|00002f20| 6e 63 6c 75 64 65 64 20 | 77 69 74 68 20 74 68 69 |ncluded |with thi|
|00002f30| 73 20 70 61 63 6b 61 67 | 65 20 61 72 65 20 73 75 |s packag|e are su|
|00002f40| 62 6a 65 63 74 20 74 6f | 20 63 68 61 6e 67 65 2e |bject to| change.|
|00002f50| 20 20 57 65 20 63 61 6e | 6e 6f 74 20 67 75 61 72 | We can|not guar|
|00002f60| 61 6e 74 65 65 20 74 68 | 61 74 20 73 6f 66 74 77 |antee th|at softw|
|00002f70| 61 72 65 20 79 6f 75 20 | 77 72 69 74 65 20 74 6f |are you |write to|
|00002f80| 20 74 68 65 20 69 6e 74 | 65 72 66 61 63 65 73 20 | the int|erfaces |
|00002f90| 70 72 65 73 65 6e 74 65 | 64 20 69 6e 20 74 68 69 |presente|d in thi|
|00002fa0| 73 20 70 61 63 6b 61 67 | 65 20 77 69 6c 6c 20 77 |s packag|e will w|
|00002fb0| 6f 72 6b 20 69 6e 20 74 | 68 65 20 66 75 74 75 72 |ork in t|he futur|
|00002fc0| 65 2e 0d fc 00 48 01 ee | 00 48 00 0c 02 c0 03 40 |e....H..|.H.....@|
|00002fd0| 03 c4 04 44 04 c8 05 48 | 05 c8 06 4c 06 cc 07 50 |...D...H|...L...P|
|00002fe0| f7 ff 00 03 0c 00 f7 0d | fe 00 06 01 d6 00 30 f0 |........|......0.|
|00002ff0| 0f f0 0f f0 0f f0 0f 00 | 05 01 d5 11 01 a0 00 82 |........|........|
|00003000| 01 00 0a f0 0f f0 0f f0 | 0f f0 0f 00 05 01 d5 20 |........|....... |
|00003010| 00 01 00 01 00 01 01 d4 | 20 00 03 00 01 00 03 01 |........| .......|
|00003020| d4 a0 00 83 f0 0f f7 0d | fc 00 48 02 1c 00 48 00 |........|..H...H.|
|00003030| 0c 01 b0 f7 ff 00 10 0c | 01 f7 0d 0d 0d 0d 49 6e |........|......In|
|00003040| 74 72 6f 64 75 63 74 69 | 6f 6e ff 00 10 0c 00 f7 |troducti|on......|
|00003050| 3a 0d 09 53 6f 66 74 54 | 61 6c 6b 20 69 73 20 61 |:..SoftT|alk is a|
|00003060| 20 52 65 6d 6f 74 65 20 | 50 72 6f 63 65 64 75 72 | Remote |Procedur|
|00003070| 65 20 43 61 6c 6c 20 70 | 72 6f 74 6f 63 6f 6c 2e |e Call p|rotocol.|
|00003080| 20 20 49 74 20 61 6c 6c | 6f 77 73 20 61 20 70 72 | It all|ows a pr|
|00003090| 6f 67 72 61 6d 20 6f 6e | 20 6f 6e 65 20 63 6f 6d |ogram on| one com|
|000030a0| 70 75 74 65 72 20 74 6f | 20 65 78 65 63 75 74 65 |puter to| execute|
|000030b0| 20 63 65 72 74 61 69 6e | 20 66 75 6e 63 74 69 6f | certain| functio|
|000030c0| 6e 73 20 6f 76 65 72 20 | 74 68 65 20 6e 65 74 77 |ns over |the netw|
|000030d0| 6f 72 6b 20 6f 6e 20 61 | 20 73 65 63 6f 6e 64 20 |ork on a| second |
|000030e0| 63 6f 6d 70 75 74 65 72 | 20 74 68 61 74 20 75 6e |computer| that un|
|000030f0| 64 65 72 73 74 61 6e 64 | 73 20 74 68 65 20 53 6f |derstand|s the So|
|00003100| 66 74 54 61 6c 6b 20 70 | 72 6f 74 6f 63 6f 6c 2e |ftTalk p|rotocol.|
|00003110| 20 20 49 6d 70 6c 65 6d | 65 6e 74 61 74 69 6f 6e | Implem|entation|
|00003120| 73 20 6f 66 20 74 68 69 | 73 20 70 72 6f 74 6f 63 |s of thi|s protoc|
|00003130| 6f 6c 20 63 75 72 72 65 | 6e 74 6c 79 20 65 78 69 |ol curre|ntly exi|
|00003140| 73 74 20 66 6f 72 20 53 | 75 6e 4f 53 2c 20 4d 53 |st for S|unOS, MS|
|00003150| 2d 44 4f 53 2c 20 61 6e | 64 20 74 68 65 20 4d 61 |-DOS, an|d the Ma|
|00003160| 63 69 6e 74 6f 73 68 2e | 0d 02 73 09 4f 6e 20 74 |cintosh.|..s.On t|
|00003170| 68 65 20 4d 61 63 69 6e | 74 6f 73 68 2c 20 74 68 |he Macin|tosh, th|
|00003180| 65 20 53 6f 66 74 54 61 | 6c 6b 20 70 72 6f 74 6f |e SoftTa|lk proto|
|00003190| 63 6f 6c 20 69 73 20 69 | 6d 70 6c 65 6d 65 6e 74 |col is i|mplement|
|000031a0| 65 64 20 62 79 20 61 20 | 6d 65 6d 6f 72 79 20 72 |ed by a |memory r|
|000031b0| 65 73 69 64 65 6e 74 20 | 63 6f 64 65 20 6d 6f 64 |esident |code mod|
|000031c0| 75 6c 65 20 74 68 61 74 | 20 69 73 20 6c 6f 61 64 |ule that| is load|
|000031d0| 65 64 20 61 74 20 69 6e | 69 74 69 61 6c 69 7a 61 |ed at in|itializa|
|000031e0| 74 69 6f 6e 20 74 69 6d | 65 2e 20 20 54 6f 20 75 |tion tim|e. To u|
|000031f0| 74 69 6c 69 7a 65 20 74 | 68 65 20 66 75 6e 63 74 |tilize t|he funct|
|00003200| 69 6f 6e 61 6c 69 74 79 | 20 70 72 6f 76 69 64 65 |ionality| provide|
|00003210| 64 20 62 79 20 74 68 65 | 20 53 6f 66 74 54 61 6c |d by the| SoftTal|
|00003220| 6b 20 70 72 6f 74 6f 63 | 6f 6c 2c 20 61 20 70 72 |k protoc|ol, a pr|
|00003230| 6f 67 72 61 6d 20 6d 61 | 6b 65 73 20 63 61 6c 6c |ogram ma|kes call|
|00003240| 73 20 74 6f 20 74 68 69 | 73 20 63 6f 64 65 20 6d |s to thi|s code m|
|00003250| 6f 64 75 6c 65 2e 0d 09 | 54 68 69 73 20 70 61 63 |odule...|This pac|
|00003260| 6b 61 67 65 20 70 72 6f | 76 69 64 65 73 20 79 6f |kage pro|vides yo|
|00003270| 75 20 77 69 74 68 20 61 | 20 6c 69 62 72 61 72 79 |u with a| library|
|00003280| 20 74 68 61 74 20 6c 65 | 74 73 20 79 6f 75 20 69 | that le|ts you i|
|00003290| 6e 74 65 72 66 61 63 65 | 20 74 6f 20 74 68 65 20 |nterface| to the |
|000032a0| 63 6f 64 65 20 6d 6f 64 | 75 6c 65 20 75 73 69 6e |code mod|ule usin|
|000032b0| 67 20 73 74 61 6e 64 61 | 72 64 20 43 20 66 75 6e |g standa|rd C fun|
|000032c0| 63 74 69 6f 6e 20 63 61 | 6c 6c 73 2c 20 61 6e 64 |ction ca|lls, and|
|000032d0| 20 73 6f 6d 65 20 73 61 | 6d 70 6c 65 20 63 6f 64 | some sa|mple cod|
|000032e0| 65 20 74 6f 20 68 65 6c | 70 20 79 6f 75 20 75 6e |e to hel|p you un|
|000032f0| 64 65 72 73 74 61 6e 64 | 20 68 6f 77 20 74 6f 20 |derstand| how to |
|00003300| 75 73 65 20 74 68 65 20 | 6c 69 62 72 61 72 79 2e |use the |library.|
|00003310| 0d 0d 0d ff 00 10 0c 01 | f7 0d ff 00 10 0c 01 f7 |........|........|
|00003320| 43 6f 6e 74 65 6e 74 73 | ff 00 10 0c 00 f7 3a 0d |Contents|......:.|
|00003330| 54 68 65 20 53 6f 66 74 | 54 61 6c 6b 20 43 20 49 |The Soft|Talk C I|
|00003340| 6e 74 65 72 66 61 63 65 | 20 50 61 63 6b 61 67 65 |nterface| Package|
|00003350| 20 69 73 20 64 69 73 74 | 72 69 62 75 74 65 64 20 | is dist|ributed |
|00003360| 61 73 20 6f 6e 65 20 38 | 30 30 4b 20 4d 61 63 69 |as one 8|00K Maci|
|00003370| 6e 74 6f 73 68 20 48 46 | 53 20 66 6c 6f 70 70 79 |ntosh HF|S floppy|
|00003380| 20 64 69 73 6b 20 61 6e | 64 20 61 20 68 61 72 64 | disk an|d a hard|
|00003390| 63 6f 70 79 20 6f 66 20 | 74 68 69 73 20 64 6f 63 |copy of |this doc|
|000033a0| 75 6d 65 6e 74 20 28 73 | 65 65 20 46 69 6c 65 73 |ument (s|ee Files|
|000033b0| 20 61 74 20 74 68 65 20 | 65 6e 64 29 2e 20 20 54 | at the |end). T|
|000033c0| 68 65 20 63 6f 6d 70 6f | 6e 65 6e 74 73 20 61 72 |he compo|nents ar|
|000033d0| 65 20 61 73 20 66 6f 6c | 6c 6f 77 73 3a 0d 07 78 |e as fol|lows:..x|
|000033e0| ff 00 10 0c 00 f7 ff 00 | 10 0c 01 f7 46 69 6c 65 |........|....File|
|000033f0| 73 ff 00 10 0c 00 f7 3a | 0d fc 00 48 02 1c 00 48 |s......:|...H...H|
|00003400| 00 0c 01 f0 08 f7 54 68 | 65 20 66 6f 6c 6c 6f 77 |......Th|e follow|
|00003410| 69 6e 67 20 69 73 20 61 | 20 6c 69 73 74 69 6e 67 |ing is a| listing|
|00003420| 20 6f 66 20 74 68 65 20 | 66 69 6c 65 73 20 61 6e | of the |files an|
|00003430| 64 20 66 6f 6c 64 65 72 | 73 20 69 6e 63 6c 75 64 |d folder|s includ|
|00003440| 65 64 20 6f 6e 20 74 68 | 65 20 53 6f 66 74 54 61 |ed on th|e SoftTa|
|00003450| 6c 6b 20 43 20 49 6e 74 | 65 72 66 61 63 65 20 50 |lk C Int|erface P|
|00003460| 61 63 6b 61 67 65 20 64 | 69 73 74 72 69 62 75 74 |ackage d|istribut|
|00003470| 69 6f 6e 20 64 69 73 6b | 2e 0d 0d fc 00 48 02 1c |ion disk|.....H..|
|00003480| 00 48 00 0c 01 68 01 b0 | 01 f0 08 02 40 04 80 f7 |.H...h..|....@...|
|00003490| ff 00 10 0a 00 f7 20 27 | f9 00 f7 ff 00 16 0a 04 |...... '|........|
|000034a0| f7 53 6f 66 74 54 61 6c | 6b 20 43 20 49 6e 74 65 |.SoftTal|k C Inte|
|000034b0| 72 66 61 63 65 20 50 61 | 63 6b 61 67 65 3a ff 00 |rface Pa|ckage:..|
|000034c0| 16 0a 00 f7 27 0d 09 53 | 6f 66 74 54 61 6c 6b 09 |....'..S|oftTalk.|
|000034d0| 09 ff 00 10 0a 00 f7 2d | 20 74 68 65 20 53 6f 66 |.......-| the Sof|
|000034e0| 74 54 61 6c 6b 20 72 75 | 6e 74 69 6d 65 20 63 6f |tTalk ru|ntime co|
|000034f0| 64 65 20 6d 6f 64 75 6c | 65 f9 00 f7 ff 00 16 0a |de modul|e.......|
|00003500| 04 f7 0d ff 00 10 0a 00 | f7 09 ff 00 16 0a 00 f7 |........|........|
|00003510| 53 6f 66 74 54 61 6c 6b | 2e 6c 69 62 09 ff 00 10 |SoftTalk|.lib....|
|00003520| 0a 00 f7 2d 20 74 68 65 | 20 69 6e 74 65 72 66 61 |...- the| interfa|
|00003530| 63 65 20 6c 69 62 72 61 | 72 79 ff 00 16 0a 00 f7 |ce libra|ry......|
|00003540| 0d 09 53 6f 66 74 54 61 | 6c 6b 2e 68 09 ff 00 10 |..SoftTa|lk.h....|
|00003550| 0a 00 f7 2d 20 74 68 65 | 20 69 6e 74 65 72 66 61 |...- the| interfa|
|00003560| 63 65 20 68 65 61 64 65 | 72 ff 00 16 0a 00 f7 0d |ce heade|r.......|
|00003570| 09 53 54 43 6c 69 65 6e | 74 09 09 ff 00 10 0a 00 |.STClien|t.......|
|00003580| f7 2d 20 74 68 65 20 73 | 61 6d 70 6c 65 20 63 6c |.- the s|ample cl|
|00003590| 69 65 6e 74 20 61 70 70 | 6c 69 63 61 74 69 6f 6e |ient app|lication|
|000035a0| ff 00 16 0a 00 f7 0d 09 | 53 54 43 6c 69 65 6e 74 |........|STClient|
|000035b0| 2e b9 09 ff 00 10 0a 00 | f7 2d 20 74 68 65 20 73 |........|.- the s|
|000035c0| 61 6d 70 6c 65 20 63 6c | 69 65 6e 74 20 70 72 6f |ample cl|ient pro|
|000035d0| 6a 65 63 74 ff 00 16 0a | 00 f7 0d 09 53 54 43 6c |ject....|....STCl|
|000035e0| 69 65 6e 74 2e b9 2e 72 | 73 72 63 09 ff 00 10 0a |ient...r|src.....|
|000035f0| 00 f7 2d 20 74 68 65 20 | 73 61 6d 70 6c 65 20 63 |..- the |sample c|
|00003600| 6c 69 65 6e 74 20 72 65 | 73 6f 75 72 63 65 73 ff |lient re|sources.|
|00003610| 00 16 0a 00 f7 0d 09 53 | 54 53 65 72 76 65 72 09 |.......S|TServer.|
|00003620| 09 ff 00 10 0a 00 f7 2d | 20 74 68 65 20 73 61 6d |.......-| the sam|
|00003630| 70 6c 65 20 73 65 72 76 | 65 72 20 61 70 70 6c 69 |ple serv|er appli|
|00003640| 63 61 74 69 6f 6e ff 00 | 16 0a 00 f7 0d 09 53 54 |cation..|......ST|
|00003650| 53 65 72 76 65 72 2e b9 | 09 ff 00 10 0a 00 f7 2d |Server..|.......-|
|00003660| 20 74 68 65 20 73 61 6d | 70 6c 65 20 73 65 72 76 | the sam|ple serv|
|00003670| 65 72 20 70 72 6f 6a 65 | 63 74 ff 00 16 0a 00 f7 |er proje|ct......|
|00003680| 0d 09 53 54 53 65 72 76 | 65 72 2e b9 2e 72 73 72 |..STServ|er...rsr|
|00003690| 63 09 ff 00 10 0a 00 f7 | 2d 20 74 68 65 20 73 61 |c.......|- the sa|
|000036a0| 6d 70 6c 65 20 73 65 72 | 76 65 72 20 72 65 73 6f |mple ser|ver reso|
|000036b0| 75 72 63 65 73 ff 00 16 | 0a 00 f7 0d 09 27 53 6f |urces...|.....'So|
|000036c0| 66 74 54 61 6c 6b 20 43 | 20 49 6e 74 65 72 66 61 |ftTalk C| Interfa|
|000036d0| 63 65 27 09 ff 00 10 0a | 00 f7 2d 20 74 68 69 73 |ce'.....|..- this|
|000036e0| 20 64 6f 63 75 6d 65 6e | 74 ff 00 16 0a 00 f7 0d | documen|t.......|
|000036f0| 0d 09 3a 4f 74 68 65 72 | 20 48 65 61 64 65 72 73 |..:Other| Headers|
|00003700| 3a 09 ff 00 10 0a 00 f7 | 2d 20 6d 69 73 63 65 6c |:.......|- miscel|
|00003710| 6c 61 6e 65 6f 75 73 20 | 6f 74 68 65 20 68 65 61 |laneous |othe hea|
|00003720| 64 65 72 73 20 28 6e 6f | 74 20 63 6f 6d 6d 65 6e |ders (no|t commen|
|00003730| 74 65 64 29 ff 00 16 0a | 00 f7 0d 09 09 49 6e 74 |ted)....|.....Int|
|00003740| 65 72 72 75 70 74 45 6e | 76 2e 68 0d 09 09 53 65 |erruptEn|v.h...Se|
|00003750| 74 53 65 6c 66 53 65 6e | 64 2e 68 0d 09 09 53 74 |tSelfSen|d.h...St|
|00003760| 64 48 64 72 2e 68 0d 0d | 09 3a 4d 69 6e 69 4d 61 |dHdr.h..|.:MiniMa|
|00003770| 63 41 70 70 20 48 65 61 | 64 65 72 73 3a 09 ff 00 |cApp Hea|ders:...|
|00003780| 10 0a 00 f7 2d 20 68 65 | 61 64 65 72 73 20 66 6f |....- he|aders fo|
|00003790| 72 20 74 68 65 20 4d 61 | 63 20 55 49 20 68 61 6e |r the Ma|c UI han|
|000037a0| 64 6c 65 72 20 28 6e 6f | 74 20 63 6f 6d 6d 65 6e |dler (no|t commen|
|000037b0| 74 65 64 29 ff 00 16 0a | 00 f7 0d 09 09 43 41 70 |ted)....|.....CAp|
|000037c0| 70 6c 69 63 61 74 69 6f | 6e 2e 68 0d 09 09 43 4f |plicatio|n.h...CO|
|000037d0| 62 6a 65 63 74 2e 68 0d | 09 09 43 57 69 6e 64 6f |bject.h.|..CWindo|
|000037e0| 77 2e 68 0d 09 09 43 57 | 72 69 74 65 4c 6e 57 69 |w.h...CW|riteLnWi|
|000037f0| 6e 64 6f 77 2e 68 0d 09 | 09 4f 53 43 68 65 63 6b |ndow.h..|.OSCheck|
|00003800| 73 2e 68 0d 09 0d 09 3a | 4f 74 68 65 72 20 4c 69 |s.h....:|Other Li|
|00003810| 62 72 61 72 69 65 73 3a | 09 ff 00 10 0a 00 f7 2d |braries:|.......-|
|00003820| 20 6d 69 73 63 65 6c 6c | 61 6e 65 6f 75 73 20 6c | miscell|aneous l|
|00003830| 69 62 72 61 72 69 65 73 | ff 00 16 0a 00 f7 0d 09 |ibraries|........|
|00003840| 09 49 6e 69 74 65 72 72 | 75 70 74 45 6e 76 2e 6c |.Initerr|uptEnv.l|
|00003850| 69 62 0d 09 09 4d 69 6e | 69 4d 61 63 41 70 70 2e |ib...Min|iMacApp.|
|00003860| 6c 69 62 0d 09 09 53 65 | 6c 66 53 65 6e 64 2e 6c |lib...Se|lfSend.l|
|00003870| 69 62 0d 0d 09 27 3a 53 | 54 43 6c 69 65 6e 74 20 |ib...':S|TClient |
|00003880| c4 3a 27 09 ff 00 10 0a | 00 f7 2d 20 74 68 65 20 |.:'.....|..- the |
|00003890| 73 61 6d 70 6c 65 20 63 | 6c 69 65 6e 74 20 73 6f |sample c|lient so|
|000038a0| 75 72 63 65 ff 00 16 0a | 00 f7 0d 09 09 43 53 54 |urce....|.....CST|
|000038b0| 43 6c 69 65 6e 74 41 70 | 70 2e 63 09 ff 00 10 0a |ClientAp|p.c.....|
|000038c0| 00 f7 2d 20 61 20 55 49 | 20 68 61 6e 64 6c 65 72 |..- a UI| handler|
|000038d0| 20 63 6c 61 73 73 20 28 | 6e 6f 74 20 63 6f 6d 6d | class (|not comm|
|000038e0| 65 6e 74 65 64 29 ff 00 | 16 0a 00 f7 0d 09 09 43 |ented)..|.......C|
|000038f0| 53 54 43 6c 69 65 6e 74 | 41 70 70 2e 68 09 ff 00 |STClient|App.h...|
|00003900| 10 0a 00 f7 2d 20 69 6e | 74 65 72 66 61 63 65 20 |....- in|terface |
|00003910| 74 6f 20 55 49 20 68 61 | 6e 64 6c 65 72 20 28 6e |to UI ha|ndler (n|
|00003920| 6f 74 20 63 6f 6d 6d 65 | 6e 74 65 64 29 ff 00 16 |ot comme|nted)...|
|00003930| 0a 00 f7 0d 09 09 4d 53 | 54 43 6c 69 65 6e 74 2e |......MS|TClient.|
|00003940| 63 09 ff 00 10 0a 00 f7 | 2d 20 74 68 65 20 6d 61 |c.......|- the ma|
|00003950| 69 6e 20 70 72 6f 67 72 | 61 6d 20 28 6e 6f 74 20 |in progr|am (not |
|00003960| 63 6f 6d 6d 65 6e 74 65 | 64 29 ff 00 16 0a 00 f7 |commente|d)......|
|00003970| 0d 09 09 53 54 43 6c 69 | 65 6e 74 2e 63 09 ff 00 |...STCli|ent.c...|
|00003980| 10 0a 00 f7 2d 20 74 68 | 65 20 61 63 74 75 61 6c |....- th|e actual|
|00003990| 20 69 6d 70 6c 65 6d 65 | 6e 74 61 74 69 6f 6e 20 | impleme|ntation |
|000039a0| 6f 66 20 74 68 65 20 63 | 6c 69 65 6e 74 ff 00 16 |of the c|lient...|
|000039b0| 0a 00 f7 0d 09 09 53 54 | 43 6c 69 65 6e 74 2e 68 |......ST|Client.h|
|000039c0| 09 ff 00 10 0a 00 f7 2d | 20 74 68 65 20 63 6c 69 |.......-| the cli|
|000039d0| 65 6e 74 27 73 20 69 6e | 74 65 72 66 61 63 65 ff |ent's in|terface.|
|000039e0| 00 16 0a 00 f7 0d 0d 0d | 09 27 3a 53 54 53 65 72 |........|.':STSer|
|000039f0| 76 65 72 20 c4 3a 27 09 | ff 00 10 0a 00 f7 2d 20 |ver .:'.|......- |
|00003a00| 74 68 65 20 73 61 6d 70 | 6c 65 20 73 65 72 76 65 |the samp|le serve|
|00003a10| 72 20 73 6f 75 72 63 65 | ff 00 16 0a 00 f7 0d 09 |r source|........|
|00003a20| 09 43 53 54 53 65 72 76 | 65 72 41 70 70 2e 63 09 |.CSTServ|erApp.c.|
|00003a30| ff 00 10 0a 00 f7 2d 20 | 61 20 55 49 20 68 61 6e |......- |a UI han|
|00003a40| 64 6c 65 72 20 63 6c 61 | 73 73 20 28 6e 6f 74 20 |dler cla|ss (not |
|00003a50| 63 6f 6d 6d 65 6e 74 65 | 64 29 ff 00 16 0a 00 f7 |commente|d)......|
|00003a60| 0d 09 09 43 53 54 53 65 | 72 76 65 72 41 70 70 2e |...CSTSe|rverApp.|
|00003a70| 68 09 ff 00 10 0a 00 f7 | 2d 20 69 6e 74 65 72 66 |h.......|- interf|
|00003a80| 61 63 65 20 74 6f 20 55 | 49 20 68 61 6e 64 6c 65 |ace to U|I handle|
|00003a90| 72 20 28 6e 6f 74 20 63 | 6f 6d 6d 65 6e 74 65 64 |r (not c|ommented|
|00003aa0| 29 ff 00 16 0a 00 f7 0d | 09 09 4d 53 54 53 65 72 |).......|..MSTSer|
|00003ab0| 76 65 72 2e 63 09 ff 00 | 10 0a 00 f7 2d 20 74 68 |ver.c...|....- th|
|00003ac0| 65 20 6d 61 69 6e 20 70 | 72 6f 67 72 61 6d 20 28 |e main p|rogram (|
|00003ad0| 6e 6f 74 20 63 6f 6d 6d | 65 6e 74 65 64 29 ff 00 |not comm|ented)..|
|00003ae0| 16 0a 00 f7 0d 09 09 53 | 54 53 65 72 76 65 72 2e |.......S|TServer.|
|00003af0| 63 09 ff 00 10 0a 00 f7 | 2d 20 74 68 65 20 61 63 |c.......|- the ac|
|00003b00| 74 75 61 6c 20 69 6d 70 | 6c 65 6d 65 6e 74 61 74 |tual imp|lementat|
|00003b10| 69 6f 6e 20 6f 66 20 74 | 68 65 20 73 65 72 76 65 |ion of t|he serve|
|00003b20| 72 ff 00 16 0a 00 f7 0d | 09 09 53 54 53 65 72 76 |r.......|..STServ|
|00003b30| 65 72 2e 68 09 ff 00 10 | 0a 00 f7 2d 20 74 68 65 |er.h....|...- the|
|00003b40| 20 73 65 72 76 65 72 20 | 69 6e 74 65 72 66 61 63 | server |interfac|
|00003b50| 65 ff 00 16 0a 00 f7 0d | 00 78 64 00 0a 16 00 10 |e.......|.xd.....|
|00003b60| a6 00 02 86 00 00 a7 00 | 03 4b 00 b2 64 00 2e 0c |........|.K..d...|
|00003b70| 01 06 24 00 31 69 00 c4 | 44 00 0d 12 00 b6 44 00 |..$.1i..|D.....D.|
|00003b80| 0f 60 00 d2 64 00 23 9e | 00 e0 24 00 13 13 00 8c |.`..d.#.|..$.....|
|00003b90| 24 00 16 0c 00 b6 24 00 | 27 05 00 d2 24 00 19 b1 |$.....$.|'...$...|
|00003ba0| 00 d4 04 00 2a 26 00 a8 | 04 00 04 24 00 a8 24 00 |....*&..|...$..$.|
|00003bb0| 08 19 00 b6 24 00 1d 5b | 00 9a 24 00 1f ec 00 fc |....$..[|..$.....|
|00003bc0| 64 00 2d aa 00 2c 65 00 | 33 de 02 3c 04 00 2d a7 |d.-..,e.|3..<..-.|
|00003bd0| 00 0c 00 a2 ff 00 15 0a | 00 f7 f9 04 f7 5f 5f 5f |........|.....___|
|00003be0| 5f 5f 5f 5f 5f 5f 5f 5f | 5f 5f 5f 5f 5f 5f 5f 5f |________|________|
|00003bf0| 5f 5f 5f 5f 5f 5f 5f 5f | 5f 5f 5f 5f 5f 5f 5f 5f |________|________|
|00003c00| 5f 5f 5f 5f 5f 5f 5f 5f | 5f 5f 5f 5f 5f 5f 5f 5f |________|________|
|00003c10| 5f 5f 5f 5f 5f 5f 5f 5f | 5f 5f 5f 5f 5f 5f 5f 5f |________|________|
|00003c20| 5f 5f 5f 5f 5f 5f 5f 5f | 5f 5f 5f 5f 5f 5f 5f 5f |________|________|
|00003c30| 5f 5f 5f 5f f9 00 f7 ff | 00 15 0c 00 f7 0d fc 00 |____....|........|
|00003c40| 2d 02 3b 00 2d 80 0c 08 | de f7 ff 00 10 0c 00 f7 |-.;.-...|........|
|00003c50| ff 00 10 0c 00 f7 54 4f | 50 53 ff 00 03 0c 00 f7 |......TO|PS......|
|00003c60| 0d ff 00 10 0a 00 f7 fc | 00 2d 02 40 00 2d 82 0c |........|.-.@.-..|
|00003c70| 08 ba f7 0d 0d 0d 02 d4 | fc 00 48 02 1c 00 48 02 |........|..H...H.|
|00003c80| 0c f7 ff 00 10 18 01 f7 | f5 f6 ff 00 10 0c 01 f7 |........|........|
|00003c90| 54 4f 50 53 ff 00 03 0c | 00 f7 0d fc 00 48 01 ee |TOPS....|.....H..|
|00003ca0| 00 48 00 0c 02 c0 03 40 | 03 c4 04 44 04 c8 05 48 |.H.....@|...D...H|
|00003cb0| 05 c8 06 4c 06 cc 07 50 | f7 ff 00 10 0c 01 f7 ff |...L...P|........|
|00003cc0| 00 03 0c 00 f7 fe 00 06 | 01 d6 00 30 f0 0f f0 0f |........|...0....|
|00003cd0| f0 0f f0 0f 00 05 01 d5 | 11 01 a0 00 82 01 00 0a |........|........|
|00003ce0| f0 0f f0 0f f0 0f f0 0f | 00 05 01 d5 20 00 01 00 |........|.... ...|
|00003cf0| 01 00 01 01 d4 20 00 03 | 00 01 00 03 01 d4 a0 00 |..... ..|........|
|00003d00| 83 f0 0f f7 0d fc 00 48 | 02 1c 00 48 02 0c f7 ff |.......H|...H....|
|00003d10| 00 10 18 01 f7 54 68 65 | 20 53 6f 66 74 54 61 6c |.....The| SoftTal|
|00003d20| 6b 20 43 20 49 6e 74 65 | 72 66 61 63 65 20 50 61 |k C Inte|rface Pa|
|00003d30| 63 6b 61 67 65 ff 00 03 | 18 00 f7 0d ff 00 03 0c |ckage...|........|
|00003d40| 00 f7 fc 00 48 01 ee 00 | 48 00 0c 02 c0 03 40 03 |....H...|H.....@.|
|00003d50| c4 04 44 04 c8 05 48 05 | c8 06 4c 06 cc 07 50 f7 |..D...H.|..L...P.|
|00003d60| fe 00 06 01 d6 00 30 f0 | 0f f0 0f f0 0f f0 0f 00 |......0.|........|
|00003d70| 05 01 d5 11 01 a0 00 82 | 01 00 0a f0 0f f0 0f f0 |........|........|
|00003d80| 0f f0 0f 00 05 01 d5 20 | 00 01 00 01 00 01 01 d4 |....... |........|
|00003d90| 20 00 03 00 01 00 03 01 | d4 a0 00 83 f0 0f f7 0d | .......|........|
|00003da0| fc 00 48 02 1c 00 48 00 | 0c 02 40 f7 ff 00 10 0c |..H...H.|..@.....|
|00003db0| 00 f7 41 75 74 68 6f 72 | 3a f9 00 f7 ff 00 10 0c |..Author|:.......|
|00003dc0| 01 f7 09 ff 00 10 0c 00 | f7 4d 69 63 68 61 65 6c |........|.Michael|
|00003dd0| 20 43 6f 68 65 6e ff 00 | 03 0c 00 f7 0d ff 00 10 | Cohen..|........|
|00003de0| 0c 00 f7 ff 00 03 0c 00 | f7 fc 00 48 02 1c 00 48 |........|...H...H|
|00003df0| 00 0c 01 b0 f7 0d fc 00 | 90 02 1c 00 48 00 0c 02 |........|....H...|
|00003e00| 40 f7 ff 00 10 0c 00 f7 | 41 62 73 74 72 61 63 74 |@.......|Abstract|
|00003e10| 3a ff 00 03 0c 00 f7 09 | ff 00 10 0c 00 f7 54 68 |:.......|......Th|
|00003e20| 69 73 20 64 6f 63 75 6d | 65 6e 74 20 64 65 73 63 |is docum|ent desc|
|00003e30| 72 69 62 65 73 20 74 68 | 65 20 70 75 72 70 6f 73 |ribes th|e purpos|
|00003e40| 65 2c 20 63 6f 6e 74 65 | 6e 74 73 2c 20 61 6e 64 |e, conte|nts, and|
|00003e50| 20 75 73 61 67 65 20 6f | 66 20 74 68 65 20 53 6f | usage o|f the So|
|00003e60| 66 74 54 61 6c 6b 20 43 | 20 49 6e 74 65 72 66 61 |ftTalk C| Interfa|
|00003e70| 63 65 20 50 61 63 6b 61 | 67 65 2e ff 00 03 0c 00 |ce Packa|ge......|
|00003e80| f7 0d ff 00 03 0c 00 f7 | f9 00 f7 fc 00 48 02 1c |........|.....H..|
|00003e90| 00 48 00 0c 01 b0 f7 0d | fc 00 48 02 1c 00 48 00 |.H......|..H...H.|
|00003ea0| 0c 02 89 03 61 04 39 04 | c8 f7 ff 00 10 0c 00 f7 |....a.9.|........|
|00003eb0| 52 65 76 69 73 69 6f 6e | 73 3a ff 00 10 0c 04 f7 |Revision|s:......|
|00003ec0| 09 56 65 72 f9 00 f7 ff | 00 10 0c 00 f7 20 09 ff |.Ver....|..... ..|
|00003ed0| 00 10 0c 04 f7 44 61 74 | 65 f9 00 f7 ff 00 10 0c |.....Dat|e.......|
|00003ee0| 00 f7 09 ff 00 10 0c 04 | f7 41 75 74 68 6f 72 f9 |........|.Author.|
|00003ef0| 00 f7 ff 00 10 0c 00 f7 | 09 ff 00 10 0c 04 f7 44 |........|.......D|
|00003f00| 65 73 63 72 69 70 74 69 | 6f 6e 20 6f 66 20 52 65 |escripti|on of Re|
|00003f10| 76 69 73 69 6f 6e ff 00 | 03 0c 00 f7 0d ff 00 10 |vision..|........|
|00003f20| 0a 00 f7 09 31 2e 30 2e | 32 09 20 39 2d 53 65 70 |....1.0.|2. 9-Sep|
|00003f30| 74 2d 38 39 09 4d 41 43 | 09 53 65 63 6f 6e 64 20 |t-89.MAC|.Second |
|00003f40| 44 72 61 66 74 ff 00 03 | 0a 00 f7 0d 03 c9 fc 00 |Draft...|........|
|00003f50| 48 02 1c 00 48 00 0c 01 | b0 f7 0d a5 20 74 68 65 |H...H...|.... the|
|00003f60| 20 69 6e 74 65 72 66 61 | 63 65 20 69 6e 63 6c 75 | interfa|ce inclu|
|00003f70| 64 65 20 66 69 6c 65 2c | 20 53 6f 66 74 54 61 6c |de file,| SoftTal|
|00003f80| 6b 2e 68 2e 0d fc 00 5a | 02 0a 00 5a 00 0c 01 b0 |k.h....Z|...Z....|
|00003f90| f7 74 68 69 73 20 66 69 | 6c 65 20 73 70 65 63 69 |.this fi|le speci|
|00003fa0| 66 69 65 73 20 53 6f 66 | 74 54 61 6c 6b 20 63 6f |fies Sof|tTalk co|
|00003fb0| 6e 73 74 61 6e 74 73 2c | 20 64 61 74 61 20 73 74 |nstants,| data st|
|00003fc0| 72 75 63 74 75 72 65 73 | 2c 20 61 6e 64 20 66 75 |ructures|, and fu|
|00003fd0| 6e 63 74 69 6f 6e 20 70 | 72 6f 74 6f 74 79 70 65 |nction p|rototype|
|00003fe0| 73 20 74 68 61 74 20 79 | 6f 75 20 77 69 6c 6c 20 |s that y|ou will |
|00003ff0| 6e 65 65 64 20 74 6f 20 | 75 73 65 20 69 6e 20 79 |need to |use in y|
|00004000| 6f 75 72 20 70 72 6f 67 | 72 61 6d 20 69 6e 20 6f |our prog|ram in o|
|00004010| 72 64 65 72 20 74 6f 20 | 61 63 63 65 73 73 20 53 |rder to |access S|
|00004020| 6f 66 74 54 61 6c 6b 2e | 0d fc 00 48 02 1c 00 48 |oftTalk.|...H...H|
|00004030| 00 0c 01 b0 f7 0d a5 20 | 74 68 65 20 73 61 6d 70 |....... |the samp|
|00004040| 6c 65 20 73 65 72 76 65 | 72 2c 20 53 61 6d 70 6c |le serve|r, Sampl|
|00004050| 65 53 65 72 76 65 72 2c | 20 61 6e 64 20 74 68 65 |eServer,| and the|
|00004060| 20 73 61 6d 70 6c 65 20 | 63 6c 69 65 6e 74 2c 20 | sample |client, |
|00004070| 53 61 6d 70 6c 65 43 6c | 69 65 6e 74 2e 0d fc 00 |SampleCl|ient....|
|00004080| 5a 02 0a 00 5a 00 0c 01 | b0 f7 09 54 68 65 73 65 |Z...Z...|...These|
|00004090| 20 61 72 65 20 61 20 62 | 61 72 65 2d 62 6f 6e 65 | are a b|are-bone|
|000040a0| 73 20 65 78 61 6d 70 6c | 65 73 20 6f 66 20 68 6f |s exampl|es of ho|
|000040b0| 77 20 74 6f 20 63 72 65 | 61 74 65 20 61 20 53 6f |w to cre|ate a So|
|000040c0| 66 74 54 61 6c 6b 20 73 | 65 72 76 65 72 20 61 6e |ftTalk s|erver an|
|000040d0| 64 20 61 20 63 6f 72 72 | 65 73 70 6f 6e 64 69 6e |d a corr|espondin|
|000040e0| 67 20 63 6c 69 65 6e 74 | 2e 20 20 54 68 65 79 20 |g client|. They |
|000040f0| 61 72 65 20 69 6e 74 65 | 6e 64 65 64 20 6f 6e 6c |are inte|nded onl|
|00004100| 79 20 61 73 20 61 20 64 | 65 6d 6f 6e 73 74 72 61 |y as a d|emonstra|
|00004110| 74 69 6f 6e 20 6f 66 20 | 74 68 65 20 63 61 6c 6c |tion of |the call|
|00004120| 69 6e 67 20 63 6f 6e 76 | 65 6e 74 69 6f 6e 73 20 |ing conv|entions |
|00004130| 74 68 61 74 20 79 6f 75 | 20 77 69 6c 6c 20 6e 65 |that you| will ne|
|00004140| 65 64 20 74 6f 20 66 6f | 6c 6c 6f 77 2e 20 20 54 |ed to fo|llow. T|
|00004150| 68 65 72 65 20 61 72 65 | 20 6d 61 6e 79 20 74 68 |here are| many th|
|00004160| 69 6e 67 73 20 28 69 2e | 65 2e 20 65 78 63 65 70 |ings (i.|e. excep|
|00004170| 74 69 6f 6e 20 68 61 6e | 64 6c 69 6e 67 2c 20 6d |tion han|dling, m|
|00004180| 65 6d 6f 72 79 20 6d 61 | 6e 61 67 65 6d 65 6e 74 |emory ma|nagement|
|00004190| 2c 20 65 74 63 2e 29 20 | 74 68 61 74 20 61 20 72 |, etc.) |that a r|
|000041a0| 65 61 6c 20 73 65 72 76 | 65 20 61 6e 64 20 61 20 |eal serv|e and a |
|000041b0| 72 65 61 6c 20 63 6c 69 | 65 6e 74 20 77 69 6c 6c |real cli|ent will|
|000041c0| 20 6e 65 65 64 20 74 6f | 20 64 6f 20 74 68 61 74 | need to| do that|
|000041d0| 20 68 61 76 65 20 62 65 | 65 6e 20 6f 6d 69 74 74 | have be|en omitt|
|000041e0| 65 64 20 69 6e 20 74 68 | 65 73 65 20 73 61 6d 70 |ed in th|ese samp|
|000041f0| 6c 65 73 2e 0d 09 54 68 | 69 73 20 70 61 63 6b 61 |les...Th|is packa|
|00004200| 67 65 20 69 6e 63 6c 75 | 64 65 73 20 74 68 65 20 |ge inclu|des the |
|00004210| 63 6f 6d 70 69 6c 65 64 | 20 61 70 70 6c 69 63 61 |compiled| applica|
|00004220| 74 69 6f 6e 73 20 53 61 | 6d 70 6c 65 53 65 72 76 |tions Sa|mpleServ|
|00004230| 65 72 20 61 6e 64 20 53 | 61 6d 70 6c 65 43 6c 69 |er and S|ampleCli|
|00004240| 65 6e 74 20 61 73 20 77 | 65 6c 6c 20 61 73 20 74 |ent as w|ell as t|
|00004250| 68 65 20 54 48 49 4e 4b | 20 43 20 34 2e 30 20 70 |he THINK| C 4.0 p|
|00004260| 72 6f 6a 65 63 74 73 20 | 74 68 61 74 20 70 72 6f |rojects |that pro|
|00004270| 64 75 63 65 64 20 74 68 | 65 20 61 70 70 6c 69 63 |duced th|e applic|
|00004280| 61 74 69 6f 6e 73 2e 0d | 09 54 68 65 20 74 77 6f |ations..|.The two|
|00004290| 20 66 69 6c 65 73 20 53 | 61 6d 70 6c 65 53 65 72 | files S|ampleSer|
|000042a0| 76 65 72 2e 63 20 61 6e | 64 20 53 61 6d 70 6c 65 |ver.c an|d Sample|
|000042b0| 53 65 72 76 65 72 2e 68 | 20 69 6d 70 6c 65 6d 65 |Server.h| impleme|
|000042c0| 6e 74 20 74 68 65 20 73 | 61 6d 70 6c 65 20 73 65 |nt the s|ample se|
|000042d0| 72 76 65 72 20 61 6e 64 | 20 79 6f 75 20 73 68 6f |rver and| you sho|
|000042e0| 75 6c 64 20 6c 6f 6f 6b | 20 61 74 20 74 68 65 73 |uld look| at thes|
|000042f0| 65 20 63 6c 6f 73 65 6c | 79 20 74 6f 20 75 6e 64 |e closel|y to und|
|00004300| 65 72 73 74 61 6e 64 20 | 68 6f 77 20 74 68 65 79 |erstand |how they|
|00004310| 20 77 6f 72 6b 2e 0d 03 | 85 09 54 68 65 20 74 77 | work...|..The tw|
|00004320| 6f 20 66 69 6c 65 73 20 | 53 61 6d 70 6c 65 43 6c |o files |SampleCl|
|00004330| 69 65 6e 74 2e 63 20 61 | 6e 64 20 53 61 6d 70 6c |ient.c a|nd Sampl|
|00004340| 65 43 6c 69 65 6e 74 2e | 68 20 69 6d 70 6c 65 6d |eClient.|h implem|
|00004350| 65 6e 74 20 74 68 65 20 | 73 61 6d 70 6c 65 20 63 |ent the |sample c|
|00004360| 6c 69 65 6e 74 20 61 6e | 64 20 79 6f 75 20 73 68 |lient an|d you sh|
|00004370| 6f 75 6c 64 20 6c 6f 6f | 6b 20 61 74 20 74 68 65 |ould loo|k at the|
|00004380| 73 65 20 63 6c 6f 73 65 | 6c 79 20 74 6f 20 75 6e |se close|ly to un|
|00004390| 64 65 72 73 74 61 6e 64 | 20 68 6f 77 20 74 68 65 |derstand| how the|
|000043a0| 79 20 77 6f 72 6b 2e 0d | 09 49 6e 20 61 64 64 69 |y work..|.In addi|
|000043b0| 74 69 6f 6e 2c 20 74 68 | 65 72 65 20 61 72 65 20 |tion, th|ere are |
|000043c0| 71 75 69 74 65 20 61 20 | 66 65 77 20 66 69 6c 65 |quite a |few file|
|000043d0| 73 20 69 6e 20 74 68 65 | 20 70 72 6f 6a 65 63 74 |s in the| project|
|000043e0| 20 74 68 61 74 20 61 72 | 65 20 69 6e 63 6c 75 64 | that ar|e includ|
|000043f0| 65 64 20 69 6e 20 6f 72 | 64 65 72 20 74 6f 20 70 |ed in or|der to p|
|00004400| 72 6f 76 69 64 65 20 74 | 68 65 20 73 74 61 6e 64 |rovide t|he stand|
|00004410| 61 72 64 20 4d 61 63 69 | 6e 74 6f 73 68 20 75 73 |ard Maci|ntosh us|
|00004420| 65 72 2d 69 6e 74 65 72 | 66 61 63 65 2e 20 20 54 |er-inter|face. T|
|00004430| 68 69 73 20 66 69 6c 65 | 73 20 69 6e 63 6c 75 64 |his file|s includ|
|00004440| 65 20 74 68 65 20 68 65 | 61 64 65 72 20 66 69 6c |e the he|ader fil|
|00004450| 65 73 20 69 6e 20 74 68 | 65 20 66 6f 6c 64 65 72 |es in th|e folder|
|00004460| 20 22 4d 69 6e 69 4d 61 | 63 41 70 70 20 48 65 61 | "MiniMa|cApp Hea|
|00004470| 64 65 72 73 22 2c 20 74 | 68 65 20 6c 69 62 72 61 |ders", t|he libra|
|00004480| 72 79 20 22 4d 69 6e 69 | 4d 61 63 41 70 70 2e 6c |ry "Mini|MacApp.l|
|00004490| 69 62 22 2c 20 61 6e 64 | 20 74 68 65 20 66 69 6c |ib", and| the fil|
|000044a0| 65 73 20 43 53 61 6d 70 | 6c 65 43 6c 69 65 6e 74 |es CSamp|leClient|
|000044b0| 41 70 70 2e 63 2c 20 43 | 53 61 6d 70 6c 65 43 6c |App.c, C|SampleCl|
|000044c0| 69 65 6e 74 41 70 70 2e | 68 2c 20 4d 53 61 6d 70 |ientApp.|h, MSamp|
|000044d0| 6c 65 43 6c 69 65 6e 74 | 41 70 70 2e 63 2c 20 43 |leClient|App.c, C|
|000044e0| 53 61 6d 70 6c 65 53 65 | 72 76 65 72 41 70 70 2e |SampleSe|rverApp.|
|000044f0| 63 2c 20 43 53 61 6d 70 | 6c 65 53 65 72 76 65 72 |c, CSamp|leServer|
|00004500| 41 70 70 2e 68 2c 20 4d | 53 61 6d 70 6c 65 53 65 |App.h, M|SampleSe|
|00004510| 72 76 65 72 41 70 70 2e | 63 2e 20 20 53 69 6e 63 |rverApp.|c. Sinc|
|00004520| 65 20 74 68 65 73 65 20 | 61 72 65 20 6e 6f 74 20 |e these |are not |
|00004530| 72 65 6c 61 74 65 64 20 | 74 6f 20 53 6f 66 74 54 |related |to SoftT|
|00004540| 61 6c 6b 2c 20 74 68 65 | 79 20 73 68 6f 75 6c 64 |alk, the|y should|
|00004550| 20 62 65 20 6f 66 20 6e | 6f 20 6d 61 6a 6f 72 20 | be of n|o major |
|00004560| 69 6e 74 65 72 65 73 74 | 20 74 6f 20 79 6f 75 2e |interest| to you.|
|00004570| 0d fc 00 48 02 1c 00 48 | 00 0c 01 b0 f7 0d ff 00 |...H...H|........|
|00004580| 10 0c 01 f7 0d ff 00 10 | 0c 01 f7 53 6f 66 74 54 |........|...SoftT|
|00004590| 61 6c 6b 20 42 61 73 69 | 63 73 ff 00 10 0c 00 f7 |alk Basi|cs......|
|000045a0| 3a 0d ff 00 10 0c 02 f7 | 57 68 61 74 20 69 73 20 |:.......|What is |
|000045b0| 53 6f 66 74 54 61 6c 6b | 3f ff 00 10 0c 00 f7 0d |SoftTalk|?.......|
|000045c0| 09 53 6f 66 74 54 61 6c | 6b 20 69 73 20 61 20 52 |.SoftTal|k is a R|
|000045d0| 65 6d 6f 74 65 20 50 72 | 6f 63 65 64 75 72 65 20 |emote Pr|ocedure |
|000045e0| 43 61 6c 6c 20 28 52 50 | 43 29 20 70 72 6f 74 6f |Call (RP|C) proto|
|000045f0| 63 6f 6c 2e 20 20 54 68 | 69 73 20 6d 65 61 6e 73 |col. Th|is means|
|00004600| 20 74 68 61 74 20 53 6f | 66 74 54 61 6c 6b 20 70 | that So|ftTalk p|
|00004610| 72 6f 76 69 64 65 73 20 | 70 72 6f 67 72 61 6d 73 |rovides |programs|
|00004620| 20 77 69 74 68 20 74 68 | 65 20 63 61 70 61 62 69 | with th|e capabi|
|00004630| 6c 69 74 79 20 6f 66 20 | 63 61 6c 6c 69 6e 67 20 |lity of |calling |
|00004640| 61 20 66 75 6e 63 74 69 | 6f 6e 20 6f 6e 20 61 20 |a functi|on on a |
|00004650| 64 69 66 66 65 72 65 6e | 74 20 63 6f 6d 70 75 74 |differen|t comput|
|00004660| 65 72 20 28 61 6c 6d 6f | 73 74 29 20 61 73 20 69 |er (almo|st) as i|
|00004670| 66 20 69 74 20 77 65 72 | 65 20 61 20 66 75 6e 63 |f it wer|e a func|
|00004680| 74 69 6f 6e 20 77 69 74 | 68 69 6e 20 74 68 65 20 |tion wit|hin the |
|00004690| 73 61 6d 65 20 70 72 6f | 67 72 61 6d 2e 0d 03 b8 |same pro|gram....|
|000046a0| 49 6e 20 6f 72 64 65 72 | 20 74 6f 20 75 73 65 20 |In order| to use |
|000046b0| 74 68 69 73 20 70 61 63 | 6b 61 67 65 20 66 6f 6c |this pac|kage fol|
|000046c0| 6c 6f 77 20 74 68 65 73 | 65 20 73 74 65 70 73 2e |low thes|e steps.|
|000046d0| 0d a5 20 79 6f 75 20 6d | 75 73 74 20 61 6c 72 65 |.. you m|ust alre|
|000046e0| 61 64 79 20 68 61 76 65 | 20 61 20 63 6f 70 79 20 |ady have| a copy |
|000046f0| 6f 66 20 53 79 6d 61 6e | 74 65 63 27 73 20 54 48 |of Syman|tec's TH|
|00004700| 49 4e 4b 20 43 20 34 2e | 30 2e 0d a5 20 74 68 65 |INK C 4.|0... the|
|00004710| 20 66 69 6c 65 20 27 53 | 6f 66 74 54 61 6c 6b 27 | file 'S|oftTalk'|
|00004720| 20 69 73 20 61 6e 20 27 | 49 4e 49 54 27 20 74 68 | is an '|INIT' th|
|00004730| 61 74 20 79 6f 75 20 77 | 69 6c 6c 20 6e 65 65 64 |at you w|ill need|
|00004740| 20 74 6f 20 63 6f 70 79 | 20 69 6e 74 6f 20 79 6f | to copy| into yo|
|00004750| 75 72 20 53 79 73 74 65 | 6d 20 46 6f 6c 64 65 72 |ur Syste|m Folder|
|00004760| 2e 20 20 54 68 69 73 20 | 77 69 6c 6c 20 63 61 75 |. This |will cau|
|00004770| 73 65 20 74 68 65 20 53 | 6f 66 74 54 61 6c 6b 20 |se the S|oftTalk |
|00004780| 72 75 6e 74 69 6d 65 20 | 6d 6f 64 75 6c 65 20 74 |runtime |module t|
|00004790| 6f 20 62 65 20 6c 6f 61 | 64 65 64 20 69 6e 74 6f |o be loa|ded into|
|000047a0| 20 6d 65 6d 6f 72 79 20 | 77 68 65 6e 20 79 6f 75 | memory |when you|
|000047b0| 20 72 65 62 6f 6f 74 20 | 79 6f 75 72 20 63 6f 6d | reboot |your com|
|000047c0| 70 75 74 65 72 2e 20 20 | 28 4e 4f 54 45 3a 20 69 |puter. |(NOTE: i|
|000047d0| 66 20 79 6f 75 20 63 75 | 72 72 65 6e 74 6c 79 20 |f you cu|rrently |
|000047e0| 68 61 76 65 20 54 4f 50 | 53 20 69 6e 73 74 61 6c |have TOP|S instal|
|000047f0| 6c 65 64 20 6f 6e 20 79 | 6f 75 72 20 6d 61 63 68 |led on y|our mach|
|00004800| 69 6e 65 2c 20 74 68 65 | 6e 20 79 6f 75 20 77 69 |ine, the|n you wi|
|00004810| 6c 6c 20 61 6c 72 65 61 | 64 79 20 68 61 76 65 20 |ll alrea|dy have |
|00004820| 61 20 76 65 72 73 69 6f | 6e 20 6f 66 20 53 6f 66 |a versio|n of Sof|
|00004830| 74 54 61 6c 6b 20 69 6e | 20 79 6f 75 72 20 53 79 |tTalk in| your Sy|
|00004840| 73 74 65 6d 20 46 6f 6c | 64 65 72 2e 29 0d a5 20 |stem Fol|der.).. |
|00004850| 63 6f 70 79 20 74 68 65 | 20 66 6f 6c 64 65 72 20 |copy the| folder |
|00004860| 63 61 6c 6c 65 64 20 27 | 53 6f 66 74 54 61 6c 6b |called '|SoftTalk|
|00004870| 20 43 20 49 6e 74 65 72 | 66 61 63 65 20 50 61 63 | C Inter|face Pac|
|00004880| 6b 61 67 65 27 20 74 6f | 20 79 6f 75 72 20 64 69 |kage' to| your di|
|00004890| 73 6b 2e 20 20 54 68 69 | 73 20 66 6f 6c 64 65 72 |sk. Thi|s folder|
|000048a0| 20 63 6f 6e 74 61 69 6e | 73 20 74 68 65 20 69 6e | contain|s the in|
|000048b0| 74 65 72 66 61 63 65 20 | 6c 69 62 72 61 72 79 2c |terface |library,|
|000048c0| 20 53 6f 66 74 54 61 6c | 6b 2e 6c 69 62 2c 20 74 | SoftTal|k.lib, t|
|000048d0| 68 65 20 69 6e 74 65 72 | 66 61 63 65 20 66 69 6c |he inter|face fil|
|000048e0| 65 2c 20 53 6f 66 74 54 | 61 6c 6b 2e 68 2c 20 74 |e, SoftT|alk.h, t|
|000048f0| 68 65 20 73 61 6d 70 6c | 65 20 73 65 72 76 65 72 |he sampl|e server|
|00004900| 20 70 72 6f 6a 65 63 74 | 2c 20 74 68 65 20 73 61 | project|, the sa|
|00004910| 6d 70 6c 65 20 63 6c 69 | 65 6e 74 20 70 72 6f 6a |mple cli|ent proj|
|00004920| 65 63 74 2c 20 61 6e 64 | 20 6f 74 68 65 72 20 73 |ect, and| other s|
|00004930| 75 70 70 6f 72 74 69 6e | 67 20 66 69 6c 65 73 2e |upportin|g files.|
|00004940| 20 20 57 65 20 73 75 67 | 67 65 73 74 20 74 68 61 | We sug|gest tha|
|00004950| 74 20 79 6f 75 20 72 65 | 62 75 69 6c 64 20 74 68 |t you re|build th|
|00004960| 65 20 53 61 6d 70 6c 65 | 53 65 72 76 65 72 20 61 |e Sample|Server a|
|00004970| 6e 64 20 53 61 6d 70 6c | 65 43 6c 69 65 6e 74 20 |nd Sampl|eClient |
|00004980| 61 70 70 6c 69 63 61 74 | 69 6f 6e 73 20 61 6e 64 |applicat|ions and|
|00004990| 20 63 6f 6d 70 61 72 65 | 20 74 68 65 6d 20 74 6f | compare| them to|
|000049a0| 20 74 68 65 20 6f 6e 65 | 73 20 6f 6e 20 74 68 65 | the one|s on the|
|000049b0| 20 64 69 73 74 72 69 62 | 75 74 69 6f 6e 20 64 69 | distrib|ution di|
|000049c0| 73 6b 20 74 6f 20 6d 61 | 6b 65 20 73 75 72 65 20 |sk to ma|ke sure |
|000049d0| 74 68 61 74 20 79 6f 75 | 20 68 61 76 65 20 74 68 |that you| have th|
|000049e0| 65 20 63 6f 72 72 65 63 | 74 20 6c 69 62 72 61 72 |e correc|t librar|
|000049f0| 69 65 73 20 61 6e 64 20 | 73 6f 75 72 63 65 2d 63 |ies and |source-c|
|00004a00| 6f 64 65 2e ff 00 03 0c | 00 f7 0d ff 00 10 0c 01 |ode.....|........|
|00004a10| f7 0d 0d ff 00 10 0c 01 | f7 55 73 69 6e 67 20 74 |........|.Using t|
|00004a20| 68 65 20 53 61 6d 70 6c | 65 53 65 72 76 65 72 20 |he Sampl|eServer |
|00004a30| 61 6e 64 20 53 61 6d 70 | 6c 65 43 6c 69 65 6e 74 |and Samp|leClient|
|00004a40| 20 61 70 70 6c 69 63 61 | 74 69 6f 6e 73 ff 00 10 | applica|tions...|
|00004a50| 0c 00 f7 f9 00 f7 3a 0d | 03 87 09 54 68 65 20 74 |......:.|...The t|
|00004a60| 77 6f 20 61 70 70 6c 69 | 63 61 74 69 6f 6e 73 20 |wo appli|cations |
|00004a70| 63 6f 6e 74 61 69 6e 65 | 64 20 6f 6e 20 74 68 65 |containe|d on the|
|00004a80| 20 64 69 73 74 72 69 62 | 75 74 69 6f 6e 20 64 69 | distrib|ution di|
|00004a90| 73 6b 20 61 72 65 20 74 | 68 65 20 73 61 6d 70 6c |sk are t|he sampl|
|00004aa0| 65 20 73 65 72 76 65 72 | 20 61 6e 64 20 73 61 6d |e server| and sam|
|00004ab0| 70 6c 65 20 63 6c 69 65 | 6e 74 2e 20 20 49 6e 20 |ple clie|nt. In |
|00004ac0| 6f 72 64 65 72 20 74 6f | 20 75 73 65 20 74 68 65 |order to| use the|
|00004ad0| 6d 2c 20 63 6f 70 79 20 | 74 68 65 20 73 65 72 76 |m, copy |the serv|
|00004ae0| 65 72 20 53 61 6d 70 6c | 65 53 65 72 76 65 72 20 |er Sampl|eServer |
|00004af0| 74 6f 20 6f 6e 65 20 63 | 6f 6d 70 75 74 65 72 20 |to one c|omputer |
|00004b00| 61 6e 64 20 74 68 65 20 | 63 6c 69 65 6e 74 20 53 |and the |client S|
|00004b10| 61 6d 70 6c 65 43 6c 69 | 65 6e 74 20 74 6f 20 61 |ampleCli|ent to a|
|00004b20| 20 73 65 63 6f 6e 64 20 | 63 6f 6d 70 75 74 65 72 | second |computer|
|00004b30| 2e 20 20 53 74 61 72 74 | 20 75 70 20 74 68 65 20 |. Start| up the |
|00004b40| 73 65 72 76 65 72 20 61 | 6e 64 20 63 68 6f 6f 73 |server a|nd choos|
|00004b50| 65 20 22 4f 70 65 6e 22 | 20 69 6e 20 74 68 65 20 |e "Open"| in the |
|00004b60| 22 53 65 72 76 65 72 22 | 20 6d 65 6e 75 2e 20 20 |"Server"| menu. |
|00004b70| 59 6f 75 20 63 61 6e 20 | 6e 6f 77 20 6c 61 75 6e |You can |now laun|
|00004b80| 63 68 20 61 20 63 6c 69 | 65 6e 74 20 6f 6e 20 61 |ch a cli|ent on a|
|00004b90| 20 73 65 63 6f 6e 64 20 | 63 6f 6d 70 75 74 65 72 | second |computer|
|00004ba0| 2e 20 20 43 68 6f 6f 73 | 65 20 22 4f 70 65 6e 22 |. Choos|e "Open"|
|00004bb0| 20 66 72 6f 6d 20 74 68 | 65 20 22 43 6c 69 65 6e | from th|e "Clien|
|00004bc0| 74 22 20 6d 65 6e 75 2e | 20 20 54 68 69 73 20 73 |t" menu.| This s|
|00004bd0| 68 6f 75 6c 64 20 6f 70 | 65 6e 20 61 20 73 65 73 |hould op|en a ses|
|00004be0| 73 69 6f 6e 20 62 65 74 | 77 65 65 6e 20 74 68 65 |sion bet|ween the|
|00004bf0| 20 63 6c 69 65 6e 74 20 | 61 6e 64 20 74 68 65 20 | client |and the |
|00004c00| 73 65 72 76 65 72 3b 20 | 74 68 65 20 63 6c 69 65 |server; |the clie|
|00004c10| 6e 74 20 77 72 69 74 65 | 73 20 61 20 6d 65 73 73 |nt write|s a mess|
|00004c20| 61 67 65 20 69 6e 20 69 | 74 73 20 77 69 6e 64 6f |age in i|ts windo|
|00004c30| 77 20 69 6e 64 69 63 61 | 74 69 6e 67 20 74 68 61 |w indica|ting tha|
|00004c40| 74 20 74 68 65 20 73 65 | 73 73 69 6f 6e 73 20 68 |t the se|ssions h|
|00004c50| 61 73 20 62 65 65 6e 20 | 6f 70 65 6e 65 64 20 73 |as been |opened s|
|00004c60| 75 63 63 65 73 73 66 75 | 6c 6c 79 2c 20 61 6e 64 |uccessfu|lly, and|
|00004c70| 20 74 68 65 20 73 65 72 | 76 65 72 20 77 72 69 74 | the ser|ver writ|
|00004c80| 65 73 20 61 20 6d 65 73 | 73 61 67 65 20 69 6e 20 |es a mes|sage in |
|00004c90| 69 74 73 20 77 69 6e 64 | 6f 77 20 69 6e 64 69 63 |its wind|ow indic|
|00004ca0| 61 74 69 6e 67 20 74 68 | 61 74 20 61 20 73 65 73 |ating th|at a ses|
|00004cb0| 73 69 6f 6e 20 68 61 73 | 20 62 65 65 6e 20 61 63 |sion has| been ac|
|00004cc0| 63 65 70 74 65 64 2e 20 | 20 59 6f 75 20 63 61 6e |cepted. | You can|
|00004cd0| 20 6e 6f 77 20 65 78 65 | 63 75 74 65 20 66 75 6e | now exe|cute fun|
|00004ce0| 63 74 69 6f 6e 73 20 6f | 6e 20 74 68 65 20 73 65 |ctions o|n the se|
|00004cf0| 72 76 65 72 20 62 79 20 | 73 65 6c 65 63 74 69 6e |rver by |selectin|
|00004d00| 67 20 6f 6e 65 20 6f 66 | 20 74 68 65 20 6d 65 6e |g one of| the men|
|00004d10| 75 20 69 74 65 6d 73 20 | 22 46 75 6e 63 31 22 20 |u items |"Func1" |
|00004d20| 74 68 72 6f 75 67 68 20 | 22 46 75 6e 63 35 22 20 |through |"Func5" |
|00004d30| 6f 6e 20 74 68 65 20 63 | 6c 69 65 6e 74 27 73 20 |on the c|lient's |
|00004d40| 22 43 6c 69 65 6e 74 22 | 20 6d 65 6e 75 2e 20 20 |"Client"| menu. |
|00004d50| 41 74 20 65 61 63 68 20 | 69 6e 76 6f 63 61 74 69 |At each |invocati|
|00004d60| 6f 6e 20 74 68 65 20 73 | 65 72 76 65 72 20 73 68 |on the s|erver sh|
|00004d70| 6f 75 6c 64 20 64 69 73 | 70 6c 61 79 20 74 68 65 |ould dis|play the|
|00004d80| 20 70 61 72 61 6d 65 74 | 65 72 73 20 69 74 20 72 | paramet|ers it r|
|00004d90| 65 63 65 69 76 65 64 20 | 66 72 6f 6d 20 74 68 65 |eceived |from the|
|00004da0| 20 63 6c 69 65 6e 74 2c | 20 61 6e 64 20 74 68 65 | client,| and the|
|00004db0| 20 63 6c 69 65 6e 74 20 | 73 68 6f 75 6c 64 20 64 | client |should d|
|00004dc0| 69 73 70 6c 61 79 20 74 | 68 65 20 66 75 6e 63 74 |isplay t|he funct|
|00004dd0| 69 6f 6e 20 72 65 73 75 | 6c 74 20 63 6f 64 65 2e |ion resu|lt code.|
|00004de0| 0d 03 77 09 53 69 6e 63 | 65 20 74 68 65 20 73 65 |..w.Sinc|e the se|
|00004df0| 72 76 65 72 20 63 61 6e | 20 61 63 63 65 70 74 20 |rver can| accept |
|00004e00| 73 65 76 65 72 61 6c 20 | 63 6c 69 65 6e 74 73 2c |several |clients,|
|00004e10| 20 79 6f 75 20 63 61 6e | 20 6c 61 75 6e 63 68 20 | you can| launch |
|00004e20| 6d 75 6c 74 69 70 6c 65 | 20 63 6c 69 65 6e 74 73 |multiple| clients|
|00004e30| 20 6f 6e 20 79 6f 75 72 | 20 6e 65 74 77 6f 72 6b | on your| network|
|00004e40| 2e 20 20 46 6f 72 20 65 | 61 63 68 20 63 6c 69 65 |. For e|ach clie|
|00004e50| 6e 74 2c 20 79 6f 75 20 | 6d 75 73 74 20 74 68 65 |nt, you |must the|
|00004e60| 6e 20 6f 70 65 6e 20 74 | 68 65 20 73 65 73 73 69 |n open t|he sessi|
|00004e70| 6f 6e 20 74 6f 20 74 68 | 65 20 73 65 72 76 65 72 |on to th|e server|
|00004e80| 20 61 73 20 64 65 73 63 | 72 69 62 65 64 20 61 62 | as desc|ribed ab|
|00004e90| 6f 76 65 2e 0d 09 53 69 | 6e 63 65 20 74 68 65 20 |ove...Si|nce the |
|00004ea0| 73 65 72 76 65 72 27 73 | 20 6e 61 6d 65 20 69 73 |server's| name is|
|00004eb0| 20 68 61 72 64 2d 63 6f | 64 65 64 2c 20 61 6e 64 | hard-co|ded, and|
|00004ec0| 20 74 68 65 72 65 20 69 | 73 20 6f 6e 6c 79 20 6f | there i|s only o|
|00004ed0| 6e 65 20 73 65 72 76 65 | 72 20 61 6c 6c 6f 77 65 |ne serve|r allowe|
|00004ee0| 64 20 6f 6e 20 74 68 65 | 20 6e 65 74 77 6f 72 6b |d on the| network|
|00004ef0| 20 77 69 74 68 20 61 20 | 67 69 76 65 6e 20 6e 61 | with a |given na|
|00004f00| 6d 65 2c 20 79 6f 75 20 | 63 61 6e 20 73 74 61 72 |me, you |can star|
|00004f10| 74 20 75 70 20 6f 6e 6c | 79 20 6f 6e 65 20 73 65 |t up onl|y one se|
|00004f20| 72 76 65 72 2e 20 20 41 | 20 72 65 61 6c 20 73 65 |rver. A| real se|
|00004f30| 72 76 65 72 20 73 68 6f | 75 6c 64 20 68 61 76 65 |rver sho|uld have|
|00004f40| 20 61 20 70 72 6f 76 69 | 73 69 6f 6e 20 66 6f 72 | a provi|sion for|
|00004f50| 20 63 68 6f 6f 73 69 6e | 67 20 61 6e 20 61 6c 74 | choosin|g an alt|
|00004f60| 65 72 6e 61 74 65 20 6e | 61 6d 65 20 69 66 20 69 |ernate n|ame if i|
|00004f70| 74 73 20 6e 61 6d 65 20 | 69 73 20 61 6c 72 65 61 |ts name |is alrea|
|00004f80| 64 79 20 74 61 6b 65 6e | 2e 0d 09 46 69 6e 61 6c |dy taken|...Final|
|00004f90| 6c 79 2c 20 69 66 20 79 | 6f 75 20 68 61 76 65 20 |ly, if y|ou have |
|00004fa0| 61 20 6d 61 63 68 69 6e | 65 20 74 68 61 74 20 69 |a machin|e that i|
|00004fb0| 73 20 72 75 6e 6e 69 6e | 67 20 74 68 65 20 6e 65 |s runnin|g the ne|
|00004fc0| 77 20 65 78 74 65 6e 64 | 65 64 20 41 70 70 6c 65 |w extend|ed Apple|
|00004fd0| 54 61 6c 6b 20 64 72 69 | 76 65 72 73 20 28 69 2e |Talk dri|vers (i.|
|00004fe0| 65 2e 20 61 20 4d 61 63 | 49 49 2c 20 4d 61 63 20 |e. a Mac|II, Mac |
|00004ff0| 53 45 2c 20 65 74 63 2e | 29 20 20 79 6f 75 20 63 |SE, etc.|) you c|
|00005000| 61 6e 20 65 78 70 65 72 | 69 6d 65 6e 74 20 77 69 |an exper|iment wi|
|00005010| 74 68 20 74 68 65 73 65 | 20 70 72 6f 67 72 61 6d |th these| program|
|00005020| 73 20 6f 6e 20 61 20 73 | 69 6e 67 6c 65 20 6d 61 |s on a s|ingle ma|
|00005030| 63 68 69 6e 65 20 75 73 | 69 6e 67 20 74 68 65 20 |chine us|ing the |
|00005040| 53 65 6c 66 53 65 6e 64 | 20 66 75 6e 63 74 69 6f |SelfSend| functio|
|00005050| 6e 61 6c 69 74 79 20 70 | 72 6f 76 69 64 65 64 20 |nality p|rovided |
|00005060| 62 79 20 74 68 65 20 64 | 72 69 76 65 72 73 2e 20 |by the d|rivers. |
|00005070| 20 54 68 65 20 53 61 6d | 70 6c 65 53 65 72 76 65 | The Sam|pleServe|
|00005080| 72 20 61 6c 77 61 79 73 | 20 65 6e 61 62 6c 65 73 |r always| enables|
|00005090| 20 53 65 6c 66 53 65 6e | 64 20 77 68 65 6e 20 69 | SelfSen|d when i|
|000050a0| 74 20 73 74 61 72 74 73 | 20 75 70 2c 20 73 6f 20 |t starts| up, so |
|000050b0| 79 6f 75 20 64 6f 6e 27 | 74 20 68 61 76 65 20 74 |you don'|t have t|
|000050c0| 6f 20 64 6f 20 61 6e 79 | 74 68 69 6e 67 20 73 70 |o do any|thing sp|
|000050d0| 65 63 69 61 6c 2e 20 20 | 52 75 6e 6e 69 6e 67 20 |ecial. |Running |
|000050e0| 75 6e 64 65 72 20 4d 75 | 6c 74 69 46 69 6e 64 65 |under Mu|ltiFinde|
|000050f0| 72 2c 20 79 6f 75 20 63 | 61 6e 20 6c 61 75 6e 63 |r, you c|an launc|
|00005100| 68 20 74 68 65 20 53 61 | 6d 70 6c 65 53 65 72 76 |h the Sa|mpleServ|
|00005110| 65 72 20 61 6e 64 20 6d | 75 6c 74 69 70 6c 65 20 |er and m|ultiple |
|00005120| 63 6f 70 69 65 73 20 6f | 66 20 74 68 65 20 53 61 |copies o|f the Sa|
|00005130| 6d 70 6c 65 43 6c 69 65 | 6e 74 20 61 6e 64 20 6f |mpleClie|nt and o|
|00005140| 62 73 65 72 76 65 20 68 | 6f 77 20 74 68 65 79 20 |bserve h|ow they |
|00005150| 69 6e 74 65 72 61 63 74 | 2e 0d 07 be ff 00 10 0c |interact|........|
|00005160| 00 f7 ff 00 10 0c 01 f7 | 46 69 6c 65 73 ff 00 10 |........|Files...|
|00005170| 0c 00 f7 3a 0d fc 00 48 | 02 1c 00 48 00 0c 01 f0 |...:...H|...H....|
|00005180| 08 f7 54 68 65 20 66 6f | 6c 6c 6f 77 69 6e 67 20 |..The fo|llowing |
|00005190| 69 73 20 61 20 6c 69 73 | 74 69 6e 67 20 6f 66 20 |is a lis|ting of |
|000051a0| 74 68 65 20 66 69 6c 65 | 73 20 61 6e 64 20 66 6f |the file|s and fo|
|000051b0| 6c 64 65 72 73 20 69 6e | 63 6c 75 64 65 64 20 6f |lders in|cluded o|
|000051c0| 6e 20 74 68 65 20 53 6f | 66 74 54 61 6c 6b 20 43 |n the So|ftTalk C|
|000051d0| 20 49 6e 74 65 72 66 61 | 63 65 20 50 61 63 6b 61 | Interfa|ce Packa|
|000051e0| 67 65 20 64 69 73 74 72 | 69 62 75 74 69 6f 6e 20 |ge distr|ibution |
|000051f0| 64 69 73 6b 2e 0d 0d fc | 00 48 02 1c 00 48 00 0c |disk....|.H...H..|
|00005200| 01 68 01 b0 01 f0 08 02 | 40 04 80 f7 ff 00 10 0a |.h......|@.......|
|00005210| 00 f7 20 27 f9 00 f7 ff | 00 16 0a 04 f7 53 6f 66 |.. '....|.....Sof|
|00005220| 74 54 61 6c 6b 20 43 20 | 49 6e 74 65 72 66 61 63 |tTalk C |Interfac|
|00005230| 65 20 50 61 63 6b 61 67 | 65 3a ff 00 16 0a 00 f7 |e Packag|e:......|
|00005240| 27 0d 09 53 6f 66 74 54 | 61 6c 6b 09 09 ff 00 10 |'..SoftT|alk.....|
|00005250| 0a 00 f7 2d 20 74 68 65 | 20 53 6f 66 74 54 61 6c |...- the| SoftTal|
|00005260| 6b 20 72 75 6e 74 69 6d | 65 20 63 6f 64 65 20 6d |k runtim|e code m|
|00005270| 6f 64 75 6c 65 f9 00 f7 | ff 00 16 0a 04 f7 0d ff |odule...|........|
|00005280| 00 10 0a 00 f7 09 ff 00 | 16 0a 00 f7 53 6f 66 74 |........|....Soft|
|00005290| 54 61 6c 6b 2e 6c 69 62 | 09 ff 00 10 0a 00 f7 2d |Talk.lib|.......-|
|000052a0| 20 74 68 65 20 69 6e 74 | 65 72 66 61 63 65 20 6c | the int|erface l|
|000052b0| 69 62 72 61 72 79 ff 00 | 16 0a 00 f7 0d 09 53 6f |ibrary..|......So|
|000052c0| 66 74 54 61 6c 6b 2e 68 | 09 ff 00 10 0a 00 f7 2d |ftTalk.h|.......-|
|000052d0| 20 74 68 65 20 69 6e 74 | 65 72 66 61 63 65 20 68 | the int|erface h|
|000052e0| 65 61 64 65 72 ff 00 16 | 0a 00 f7 0d 09 53 61 6d |eader...|.....Sam|
|000052f0| 70 6c 65 43 6c 69 65 6e | 74 09 ff 00 10 0a 00 f7 |pleClien|t.......|
|00005300| 2d 20 74 68 65 20 73 61 | 6d 70 6c 65 20 63 6c 69 |- the sa|mple cli|
|00005310| 65 6e 74 20 61 70 70 6c | 69 63 61 74 69 6f 6e ff |ent appl|ication.|
|00005320| 00 16 0a 00 f7 0d 09 53 | 61 6d 70 6c 65 43 6c 69 |.......S|ampleCli|
|00005330| 65 6e 74 2e b9 09 ff 00 | 10 0a 00 f7 2d 20 74 68 |ent.....|....- th|
|00005340| 65 20 73 61 6d 70 6c 65 | 20 63 6c 69 65 6e 74 20 |e sample| client |
|00005350| 70 72 6f 6a 65 63 74 ff | 00 16 0a 00 f7 0d 09 53 |project.|.......S|
|00005360| 61 6d 70 6c 65 43 6c 69 | 65 6e 74 2e b9 2e 72 73 |ampleCli|ent...rs|
|00005370| 72 63 09 ff 00 10 0a 00 | f7 2d 20 74 68 65 20 73 |rc......|.- the s|
|00005380| 61 6d 70 6c 65 20 63 6c | 69 65 6e 74 20 72 65 73 |ample cl|ient res|
|00005390| 6f 75 72 63 65 73 ff 00 | 16 0a 00 f7 0d 09 53 61 |ources..|......Sa|
|000053a0| 6d 70 6c 65 53 65 72 76 | 65 72 09 ff 00 10 0a 00 |mpleServ|er......|
|000053b0| f7 2d 20 74 68 65 20 73 | 61 6d 70 6c 65 20 73 65 |.- the s|ample se|
|000053c0| 72 76 65 72 20 61 70 70 | 6c 69 63 61 74 69 6f 6e |rver app|lication|
|000053d0| ff 00 16 0a 00 f7 0d 09 | 53 61 6d 70 6c 65 53 65 |........|SampleSe|
|000053e0| 72 76 65 72 2e b9 09 ff | 00 10 0a 00 f7 2d 20 74 |rver....|.....- t|
|000053f0| 68 65 20 73 61 6d 70 6c | 65 20 73 65 72 76 65 72 |he sampl|e server|
|00005400| 20 70 72 6f 6a 65 63 74 | ff 00 16 0a 00 f7 0d 09 | project|........|
|00005410| 53 61 6d 70 6c 65 53 65 | 72 76 65 72 2e b9 2e 72 |SampleSe|rver...r|
|00005420| 73 72 63 09 ff 00 10 0a | 00 f7 2d 20 74 68 65 20 |src.....|..- the |
|00005430| 73 61 6d 70 6c 65 20 73 | 65 72 76 65 72 20 72 65 |sample s|erver re|
|00005440| 73 6f 75 72 63 65 73 ff | 00 16 0a 00 f7 0d 09 27 |sources.|.......'|
|00005450| 53 6f 66 74 54 61 6c 6b | 20 43 20 49 6e 74 65 72 |SoftTalk| C Inter|
|00005460| 66 61 63 65 27 09 ff 00 | 10 0a 00 f7 2d 20 74 68 |face'...|....- th|
|00005470| 69 73 20 64 6f 63 75 6d | 65 6e 74 ff 00 16 0a 00 |is docum|ent.....|
|00005480| f7 0d 0d 09 3a 4f 74 68 | 65 72 20 48 65 61 64 65 |....:Oth|er Heade|
|00005490| 72 73 3a 09 ff 00 10 0a | 00 f7 2d 20 6d 69 73 63 |rs:.....|..- misc|
|000054a0| 65 6c 6c 61 6e 65 6f 75 | 73 20 6f 74 68 65 20 68 |ellaneou|s othe h|
|000054b0| 65 61 64 65 72 73 20 28 | 6e 6f 74 20 63 6f 6d 6d |eaders (|not comm|
|000054c0| 65 6e 74 65 64 29 ff 00 | 16 0a 00 f7 0d 09 09 49 |ented)..|.......I|
|000054d0| 6e 74 65 72 72 75 70 74 | 45 6e 76 2e 68 0d 09 09 |nterrupt|Env.h...|
|000054e0| 53 65 74 53 65 6c 66 53 | 65 6e 64 2e 68 0d 09 09 |SetSelfS|end.h...|
|000054f0| 53 74 64 48 64 72 2e 68 | 0d 0d 09 3a 4d 69 6e 69 |StdHdr.h|...:Mini|
|00005500| 4d 61 63 41 70 70 20 48 | 65 61 64 65 72 73 3a 09 |MacApp H|eaders:.|
|00005510| ff 00 10 0a 00 f7 2d 20 | 68 65 61 64 65 72 73 20 |......- |headers |
|00005520| 66 6f 72 20 74 68 65 20 | 4d 61 63 20 55 49 20 68 |for the |Mac UI h|
|00005530| 61 6e 64 6c 65 72 20 28 | 6e 6f 74 20 63 6f 6d 6d |andler (|not comm|
|00005540| 65 6e 74 65 64 29 ff 00 | 16 0a 00 f7 0d 09 09 43 |ented)..|.......C|
|00005550| 41 70 70 6c 69 63 61 74 | 69 6f 6e 2e 68 0d 09 09 |Applicat|ion.h...|
|00005560| 43 4f 62 6a 65 63 74 2e | 68 0d 09 09 43 57 69 6e |CObject.|h...CWin|
|00005570| 64 6f 77 2e 68 0d 09 09 | 43 57 72 69 74 65 4c 6e |dow.h...|CWriteLn|
|00005580| 57 69 6e 64 6f 77 2e 68 | 0d 09 09 4f 53 43 68 65 |Window.h|...OSChe|
|00005590| 63 6b 73 2e 68 0d 09 0d | 09 3a 4f 74 68 65 72 20 |cks.h...|.:Other |
|000055a0| 4c 69 62 72 61 72 69 65 | 73 3a 09 ff 00 10 0a 00 |Librarie|s:......|
|000055b0| f7 2d 20 6d 69 73 63 65 | 6c 6c 61 6e 65 6f 75 73 |.- misce|llaneous|
|000055c0| 20 6c 69 62 72 61 72 69 | 65 73 ff 00 16 0a 00 f7 | librari|es......|
|000055d0| 0d 09 09 49 6e 69 74 65 | 72 72 75 70 74 45 6e 76 |...Inite|rruptEnv|
|000055e0| 2e 6c 69 62 0d 09 09 4d | 69 6e 69 4d 61 63 41 70 |.lib...M|iniMacAp|
|000055f0| 70 2e 6c 69 62 0d 09 09 | 53 65 6c 66 53 65 6e 64 |p.lib...|SelfSend|
|00005600| 2e 6c 69 62 0d 0d 09 27 | 3a 53 61 6d 70 6c 65 43 |.lib...'|:SampleC|
|00005610| 6c 69 65 6e 74 20 c4 3a | 27 09 ff 00 10 0a 00 f7 |lient .:|'.......|
|00005620| 2d 20 74 68 65 20 73 61 | 6d 70 6c 65 20 63 6c 69 |- the sa|mple cli|
|00005630| 65 6e 74 20 73 6f 75 72 | 63 65 ff 00 16 0a 00 f7 |ent sour|ce......|
|00005640| 0d 09 09 43 53 61 6d 70 | 6c 65 43 6c 69 65 6e 74 |...CSamp|leClient|
|00005650| 41 70 70 2e 63 09 ff 00 | 10 0a 00 f7 2d 20 61 20 |App.c...|....- a |
|00005660| 55 49 20 68 61 6e 64 6c | 65 72 20 63 6c 61 73 73 |UI handl|er class|
|00005670| 20 28 6e 6f 74 20 63 6f | 6d 6d 65 6e 74 65 64 29 | (not co|mmented)|
|00005680| ff 00 16 0a 00 f7 0d 09 | 09 43 53 61 6d 70 6c 65 |........|.CSample|
|00005690| 43 6c 69 65 6e 74 41 70 | 70 2e 68 09 ff 00 10 0a |ClientAp|p.h.....|
|000056a0| 00 f7 2d 20 69 6e 74 65 | 72 66 61 63 65 20 74 6f |..- inte|rface to|
|000056b0| 20 55 49 20 68 61 6e 64 | 6c 65 72 20 28 6e 6f 74 | UI hand|ler (not|
|000056c0| 20 63 6f 6d 6d 65 6e 74 | 65 64 29 ff 00 16 0a 00 | comment|ed).....|
|000056d0| f7 0d 09 09 4d 53 61 6d | 70 6c 65 43 6c 69 65 6e |....MSam|pleClien|
|000056e0| 74 2e 63 09 ff 00 10 0a | 00 f7 2d 20 74 68 65 20 |t.c.....|..- the |
|000056f0| 6d 61 69 6e 20 70 72 6f | 67 72 61 6d 20 28 6e 6f |main pro|gram (no|
|00005700| 74 20 63 6f 6d 6d 65 6e | 74 65 64 29 ff 00 16 0a |t commen|ted)....|
|00005710| 00 f7 0d 09 09 53 61 6d | 70 6c 65 43 6c 69 65 6e |.....Sam|pleClien|
|00005720| 74 2e 63 09 ff 00 10 0a | 00 f7 2d 20 74 68 65 20 |t.c.....|..- the |
|00005730| 61 63 74 75 61 6c 20 69 | 6d 70 6c 65 6d 65 6e 74 |actual i|mplement|
|00005740| 61 74 69 6f 6e 20 6f 66 | 20 74 68 65 20 63 6c 69 |ation of| the cli|
|00005750| 65 6e 74 ff 00 16 0a 00 | f7 0d 09 09 53 61 6d 70 |ent.....|....Samp|
|00005760| 6c 65 43 6c 69 65 6e 74 | 2e 68 09 ff 00 10 0a 00 |leClient|.h......|
|00005770| f7 2d 20 74 68 65 20 63 | 6c 69 65 6e 74 27 73 20 |.- the c|lient's |
|00005780| 69 6e 74 65 72 66 61 63 | 65 ff 00 16 0a 00 f7 0d |interfac|e.......|
|00005790| 0d 0d 09 27 3a 53 61 6d | 70 6c 65 53 65 72 76 65 |...':Sam|pleServe|
|000057a0| 72 20 c4 3a 27 09 ff 00 | 10 0a 00 f7 2d 20 74 68 |r .:'...|....- th|
|000057b0| 65 20 73 61 6d 70 6c 65 | 20 73 65 72 76 65 72 20 |e sample| server |
|000057c0| 73 6f 75 72 63 65 ff 00 | 16 0a 00 f7 0d 09 09 43 |source..|.......C|
|000057d0| 53 61 6d 70 6c 65 53 65 | 72 76 65 72 41 70 70 2e |SampleSe|rverApp.|
|000057e0| 63 09 ff 00 10 0a 00 f7 | 2d 20 61 20 55 49 20 68 |c.......|- a UI h|
|000057f0| 61 6e 64 6c 65 72 20 63 | 6c 61 73 73 20 28 6e 6f |andler c|lass (no|
|00005800| 74 20 63 6f 6d 6d 65 6e | 74 65 64 29 ff 00 16 0a |t commen|ted)....|
|00005810| 00 f7 0d 09 09 43 53 61 | 6d 70 6c 65 53 65 72 76 |.....CSa|mpleServ|
|00005820| 65 72 41 70 70 2e 68 09 | ff 00 10 0a 00 f7 2d 20 |erApp.h.|......- |
|00005830| 69 6e 74 65 72 66 61 63 | 65 20 74 6f 20 55 49 20 |interfac|e to UI |
|00005840| 68 61 6e 64 6c 65 72 20 | 28 6e 6f 74 20 63 6f 6d |handler |(not com|
|00005850| 6d 65 6e 74 65 64 29 ff | 00 16 0a 00 f7 0d 09 09 |mented).|........|
|00005860| 4d 53 61 6d 70 6c 65 53 | 65 72 76 65 72 2e 63 09 |MSampleS|erver.c.|
|00005870| ff 00 10 0a 00 f7 2d 20 | 74 68 65 20 6d 61 69 6e |......- |the main|
|00005880| 20 70 72 6f 67 72 61 6d | 20 28 6e 6f 74 20 63 6f | program| (not co|
|00005890| 6d 6d 65 6e 74 65 64 29 | ff 00 16 0a 00 f7 0d 09 |mmented)|........|
|000058a0| 09 53 61 6d 70 6c 65 53 | 65 72 76 65 72 2e 63 09 |.SampleS|erver.c.|
|000058b0| ff 00 10 0a 00 f7 2d 20 | 74 68 65 20 61 63 74 75 |......- |the actu|
|000058c0| 61 6c 20 69 6d 70 6c 65 | 6d 65 6e 74 61 74 69 6f |al imple|mentatio|
|000058d0| 6e 20 6f 66 20 74 68 65 | 20 73 65 72 76 65 72 ff |n of the| server.|
|000058e0| 00 16 0a 00 f7 0d 09 09 | 53 61 6d 70 6c 65 53 65 |........|SampleSe|
|000058f0| 72 76 65 72 2e 68 09 ff | 00 10 0a 00 f7 2d 20 74 |rver.h..|.....- t|
|00005900| 68 65 20 73 65 72 76 65 | 72 20 69 6e 74 65 72 66 |he serve|r interf|
|00005910| 61 63 65 ff 00 16 0a 00 | f7 0d 00 78 64 00 3c 76 |ace.....|...xd.<v|
|00005920| 00 0f a6 00 02 86 00 00 | a7 00 3b d2 00 9a 64 00 |........|..;...d.|
|00005930| 2e 0c 01 14 24 00 31 69 | 00 d2 44 00 0d 12 00 d2 |....$.1i|..D.....|
|00005940| 44 00 3f 4c 01 1d 64 00 | 43 17 01 1d 24 00 13 13 |D.?L..d.|C...$...|
|00005950| 00 a5 24 00 16 0c 00 e1 | 24 00 27 05 00 f0 24 00 |..$.....|$.'...$.|
|00005960| 46 9e 00 ff 04 00 4a 58 | 00 c3 04 00 4d e1 00 d2 |F.....JX|....M...|
|00005970| 24 00 08 19 00 c3 24 00 | 1d 5b 00 c3 24 00 1f ec |$.....$.|.[..$...|
|00005980| 01 2c 64 00 2d aa 00 2d | 65 00 51 5a 02 5a 04 00 |.,d.-..-|e.QZ.Z..|
|00005990| 2d a7 00 0c 00 18 04 00 | 02 00 00 40 04 00 02 06 |-.......|...@....|
|000059a0| 00 40 64 00 02 86 00 3c | 64 00 3b d2 00 3c 03 b1 |.@d....<|d.;..<..|
|000059b0| fc 00 48 02 1c 00 48 00 | 0c 01 b0 f7 0d a5 20 74 |..H...H.|...... t|
|000059c0| 68 65 20 69 6e 74 65 72 | 66 61 63 65 20 69 6e 63 |he inter|face inc|
|000059d0| 6c 75 64 65 20 66 69 6c | 65 2c 20 53 6f 66 74 54 |lude fil|e, SoftT|
|000059e0| 61 6c 6b 2e 68 2e 0d fc | 00 5a 02 0a 00 5a 00 0c |alk.h...|.Z...Z..|
|000059f0| 01 b0 f7 74 68 69 73 20 | 66 69 6c 65 20 73 70 65 |...this |file spe|
|00005a00| 63 69 66 69 65 73 20 53 | 6f 66 74 54 61 6c 6b 20 |cifies S|oftTalk |
|00005a10| 63 6f 6e 73 74 61 6e 74 | 73 2c 20 64 61 74 61 20 |constant|s, data |
|00005a20| 73 74 72 75 63 74 75 72 | 65 73 2c 20 61 6e 64 20 |structur|es, and |
|00005a30| 66 75 6e 63 74 69 6f 6e | 20 70 72 6f 74 6f 74 79 |function| prototy|
|00005a40| 70 65 73 20 74 68 61 74 | 20 79 6f 75 20 77 69 6c |pes that| you wil|
|00005a50| 6c 20 6e 65 65 64 20 74 | 6f 20 75 73 65 20 69 6e |l need t|o use in|
|00005a60| 20 79 6f 75 72 20 70 72 | 6f 67 72 61 6d 20 69 6e | your pr|ogram in|
|00005a70| 20 6f 72 64 65 72 20 74 | 6f 20 61 63 63 65 73 73 | order t|o access|
|00005a80| 20 53 6f 66 74 54 61 6c | 6b 2e 0d fc 00 48 02 1c | SoftTal|k....H..|
|00005a90| 00 48 00 0c 01 b0 f7 0d | a5 20 74 68 65 20 73 61 |.H......|. the sa|
|00005aa0| 6d 70 6c 65 20 73 65 72 | 76 65 72 2c 20 53 54 53 |mple ser|ver, STS|
|00005ab0| 65 72 76 65 72 2c 20 61 | 6e 64 20 74 68 65 20 73 |erver, a|nd the s|
|00005ac0| 61 6d 70 6c 65 20 63 6c | 69 65 6e 74 2c 20 53 54 |ample cl|ient, ST|
|00005ad0| 43 6c 69 65 6e 74 2e 0d | fc 00 5a 02 0a 00 5a 00 |Client..|..Z...Z.|
|00005ae0| 0c 01 b0 f7 09 54 68 65 | 73 65 20 61 72 65 20 61 |.....The|se are a|
|00005af0| 20 62 61 72 65 2d 62 6f | 6e 65 73 20 65 78 61 6d | bare-bo|nes exam|
|00005b00| 70 6c 65 73 20 6f 66 20 | 68 6f 77 20 74 6f 20 63 |ples of |how to c|
|00005b10| 72 65 61 74 65 20 61 20 | 53 6f 66 74 54 61 6c 6b |reate a |SoftTalk|
|00005b20| 20 73 65 72 76 65 72 20 | 61 6e 64 20 61 20 63 6f | server |and a co|
|00005b30| 72 72 65 73 70 6f 6e 64 | 69 6e 67 20 63 6c 69 65 |rrespond|ing clie|
|00005b40| 6e 74 2e 20 20 54 68 65 | 79 20 61 72 65 20 69 6e |nt. The|y are in|
|00005b50| 74 65 6e 64 65 64 20 6f | 6e 6c 79 20 61 73 20 61 |tended o|nly as a|
|00005b60| 20 64 65 6d 6f 6e 73 74 | 72 61 74 69 6f 6e 20 6f | demonst|ration o|
|00005b70| 66 20 74 68 65 20 63 61 | 6c 6c 69 6e 67 20 63 6f |f the ca|lling co|
|00005b80| 6e 76 65 6e 74 69 6f 6e | 73 20 74 68 61 74 20 79 |nvention|s that y|
|00005b90| 6f 75 20 77 69 6c 6c 20 | 6e 65 65 64 20 74 6f 20 |ou will |need to |
|00005ba0| 66 6f 6c 6c 6f 77 2e 20 | 20 54 68 65 72 65 20 61 |follow. | There a|
|00005bb0| 72 65 20 6d 61 6e 79 20 | 74 68 69 6e 67 73 20 28 |re many |things (|
|00005bc0| 69 2e 65 2e 20 65 78 63 | 65 70 74 69 6f 6e 20 68 |i.e. exc|eption h|
|00005bd0| 61 6e 64 6c 69 6e 67 2c | 20 6d 65 6d 6f 72 79 20 |andling,| memory |
|00005be0| 6d 61 6e 61 67 65 6d 65 | 6e 74 2c 20 65 74 63 2e |manageme|nt, etc.|
|00005bf0| 29 20 74 68 61 74 20 61 | 20 72 65 61 6c 20 73 65 |) that a| real se|
|00005c00| 72 76 65 20 61 6e 64 20 | 61 20 72 65 61 6c 20 63 |rve and |a real c|
|00005c10| 6c 69 65 6e 74 20 77 69 | 6c 6c 20 6e 65 65 64 20 |lient wi|ll need |
|00005c20| 74 6f 20 64 6f 20 74 68 | 61 74 20 68 61 76 65 20 |to do th|at have |
|00005c30| 62 65 65 6e 20 6f 6d 69 | 74 74 65 64 20 69 6e 20 |been omi|tted in |
|00005c40| 74 68 65 73 65 20 73 61 | 6d 70 6c 65 73 2e 0d 09 |these sa|mples...|
|00005c50| 54 68 69 73 20 70 61 63 | 6b 61 67 65 20 69 6e 63 |This pac|kage inc|
|00005c60| 6c 75 64 65 73 20 74 68 | 65 20 63 6f 6d 70 69 6c |ludes th|e compil|
|00005c70| 65 64 20 61 70 70 6c 69 | 63 61 74 69 6f 6e 73 20 |ed appli|cations |
|00005c80| 53 54 53 65 72 76 65 72 | 20 61 6e 64 20 53 54 43 |STServer| and STC|
|00005c90| 6c 69 65 6e 74 20 61 73 | 20 77 65 6c 6c 20 61 73 |lient as| well as|
|00005ca0| 20 74 68 65 20 54 48 49 | 4e 4b 20 43 20 34 2e 30 | the THI|NK C 4.0|
|00005cb0| 20 70 72 6f 6a 65 63 74 | 73 20 74 68 61 74 20 70 | project|s that p|
|00005cc0| 72 6f 64 75 63 65 64 20 | 74 68 65 20 61 70 70 6c |roduced |the appl|
|00005cd0| 69 63 61 74 69 6f 6e 73 | 2e 0d 09 54 68 65 20 74 |ications|...The t|
|00005ce0| 77 6f 20 66 69 6c 65 73 | 20 53 54 53 65 72 76 65 |wo files| STServe|
|00005cf0| 72 2e 63 20 61 6e 64 20 | 53 54 53 65 72 76 65 72 |r.c and |STServer|
|00005d00| 2e 68 20 69 6d 70 6c 65 | 6d 65 6e 74 20 74 68 65 |.h imple|ment the|
|00005d10| 20 73 61 6d 70 6c 65 20 | 73 65 72 76 65 72 20 61 | sample |server a|
|00005d20| 6e 64 20 79 6f 75 20 73 | 68 6f 75 6c 64 20 6c 6f |nd you s|hould lo|
|00005d30| 6f 6b 20 61 74 20 74 68 | 65 73 65 20 63 6c 6f 73 |ok at th|ese clos|
|00005d40| 65 6c 79 20 74 6f 20 75 | 6e 64 65 72 73 74 61 6e |ely to u|nderstan|
|00005d50| 64 20 68 6f 77 20 74 68 | 65 79 20 77 6f 72 6b 2e |d how th|ey work.|
|00005d60| 0d 03 65 09 54 68 65 20 | 74 77 6f 20 66 69 6c 65 |..e.The |two file|
|00005d70| 73 20 53 54 43 6c 69 65 | 6e 74 2e 63 20 61 6e 64 |s STClie|nt.c and|
|00005d80| 20 53 54 43 6c 69 65 6e | 74 2e 68 20 69 6d 70 6c | STClien|t.h impl|
|00005d90| 65 6d 65 6e 74 20 74 68 | 65 20 73 61 6d 70 6c 65 |ement th|e sample|
|00005da0| 20 63 6c 69 65 6e 74 20 | 61 6e 64 20 79 6f 75 20 | client |and you |
|00005db0| 73 68 6f 75 6c 64 20 6c | 6f 6f 6b 20 61 74 20 74 |should l|ook at t|
|00005dc0| 68 65 73 65 20 63 6c 6f | 73 65 6c 79 20 74 6f 20 |hese clo|sely to |
|00005dd0| 75 6e 64 65 72 73 74 61 | 6e 64 20 68 6f 77 20 74 |understa|nd how t|
|00005de0| 68 65 79 20 77 6f 72 6b | 2e 0d 09 49 6e 20 61 64 |hey work|...In ad|
|00005df0| 64 69 74 69 6f 6e 2c 20 | 74 68 65 72 65 20 61 72 |dition, |there ar|
|00005e00| 65 20 71 75 69 74 65 20 | 61 20 66 65 77 20 66 69 |e quite |a few fi|
|00005e10| 6c 65 73 20 69 6e 20 74 | 68 65 20 70 72 6f 6a 65 |les in t|he proje|
|00005e20| 63 74 20 74 68 61 74 20 | 61 72 65 20 69 6e 63 6c |ct that |are incl|
|00005e30| 75 64 65 64 20 69 6e 20 | 6f 72 64 65 72 20 74 6f |uded in |order to|
|00005e40| 20 70 72 6f 76 69 64 65 | 20 74 68 65 20 73 74 61 | provide| the sta|
|00005e50| 6e 64 61 72 64 20 4d 61 | 63 69 6e 74 6f 73 68 20 |ndard Ma|cintosh |
|00005e60| 75 73 65 72 2d 69 6e 74 | 65 72 66 61 63 65 2e 20 |user-int|erface. |
|00005e70| 20 54 68 69 73 20 66 69 | 6c 65 73 20 69 6e 63 6c | This fi|les incl|
|00005e80| 75 64 65 20 74 68 65 20 | 68 65 61 64 65 72 20 66 |ude the |header f|
|00005e90| 69 6c 65 73 20 69 6e 20 | 74 68 65 20 66 6f 6c 64 |iles in |the fold|
|00005ea0| 65 72 20 22 4d 69 6e 69 | 4d 61 63 41 70 70 20 48 |er "Mini|MacApp H|
|00005eb0| 65 61 64 65 72 73 22 2c | 20 74 68 65 20 6c 69 62 |eaders",| the lib|
|00005ec0| 72 61 72 79 20 22 4d 69 | 6e 69 4d 61 63 41 70 70 |rary "Mi|niMacApp|
|00005ed0| 2e 6c 69 62 22 2c 20 61 | 6e 64 20 74 68 65 20 66 |.lib", a|nd the f|
|00005ee0| 69 6c 65 73 20 43 53 54 | 43 6c 69 65 6e 74 41 70 |iles CST|ClientAp|
|00005ef0| 70 2e 63 2c 20 43 53 54 | 43 6c 69 65 6e 74 41 70 |p.c, CST|ClientAp|
|00005f00| 70 2e 68 2c 20 4d 53 54 | 43 6c 69 65 6e 74 41 70 |p.h, MST|ClientAp|
|00005f10| 70 2e 63 2c 20 43 53 54 | 53 65 72 76 65 72 41 70 |p.c, CST|ServerAp|
|00005f20| 70 2e 63 2c 20 43 53 54 | 53 65 72 76 65 72 41 70 |p.c, CST|ServerAp|
|00005f30| 70 2e 68 2c 20 4d 53 54 | 53 65 72 76 65 72 41 70 |p.h, MST|ServerAp|
|00005f40| 70 2e 63 2e 20 20 53 69 | 6e 63 65 20 74 68 65 73 |p.c. Si|nce thes|
|00005f50| 65 20 61 72 65 20 6e 6f | 74 20 72 65 6c 61 74 65 |e are no|t relate|
|00005f60| 64 20 74 6f 20 53 6f 66 | 74 54 61 6c 6b 2c 20 74 |d to Sof|tTalk, t|
|00005f70| 68 65 79 20 73 68 6f 75 | 6c 64 20 62 65 20 6f 66 |hey shou|ld be of|
|00005f80| 20 6e 6f 20 6d 61 6a 6f | 72 20 69 6e 74 65 72 65 | no majo|r intere|
|00005f90| 73 74 20 74 6f 20 79 6f | 75 2e 0d fc 00 48 02 1c |st to yo|u....H..|
|00005fa0| 00 48 00 0c 01 b0 f7 0d | ff 00 10 0c 01 f7 0d ff |.H......|........|
|00005fb0| 00 10 0c 01 f7 53 6f 66 | 74 54 61 6c 6b 20 42 61 |.....Sof|tTalk Ba|
|00005fc0| 73 69 63 73 ff 00 10 0c | 00 f7 3a 0d ff 00 10 0c |sics....|..:.....|
|00005fd0| 02 f7 57 68 61 74 20 69 | 73 20 53 6f 66 74 54 61 |..What i|s SoftTa|
|00005fe0| 6c 6b 3f ff 00 10 0c 00 | f7 0d 09 53 6f 66 74 54 |lk?.....|...SoftT|
|00005ff0| 61 6c 6b 20 69 73 20 61 | 20 52 65 6d 6f 74 65 20 |alk is a| Remote |
|00006000| 50 72 6f 63 65 64 75 72 | 65 20 43 61 6c 6c 20 28 |Procedur|e Call (|
|00006010| 52 50 43 29 20 70 72 6f | 74 6f 63 6f 6c 2e 20 20 |RPC) pro|tocol. |
|00006020| 54 68 69 73 20 6d 65 61 | 6e 73 20 74 68 61 74 20 |This mea|ns that |
|00006030| 53 6f 66 74 54 61 6c 6b | 20 70 72 6f 76 69 64 65 |SoftTalk| provide|
|00006040| 73 20 70 72 6f 67 72 61 | 6d 73 20 77 69 74 68 20 |s progra|ms with |
|00006050| 74 68 65 20 63 61 70 61 | 62 69 6c 69 74 79 20 6f |the capa|bility o|
|00006060| 66 20 63 61 6c 6c 69 6e | 67 20 61 20 66 75 6e 63 |f callin|g a func|
|00006070| 74 69 6f 6e 20 6f 6e 20 | 61 20 64 69 66 66 65 72 |tion on |a differ|
|00006080| 65 6e 74 20 63 6f 6d 70 | 75 74 65 72 20 28 61 6c |ent comp|uter (al|
|00006090| 6d 6f 73 74 29 20 61 73 | 20 69 66 20 69 74 20 77 |most) as| if it w|
|000060a0| 65 72 65 20 61 20 66 75 | 6e 63 74 69 6f 6e 20 77 |ere a fu|nction w|
|000060b0| 69 74 68 69 6e 20 74 68 | 65 20 73 61 6d 65 20 70 |ithin th|e same p|
|000060c0| 72 6f 67 72 61 6d 2e 0d | 03 a8 49 6e 20 6f 72 64 |rogram..|..In ord|
|000060d0| 65 72 20 74 6f 20 75 73 | 65 20 74 68 69 73 20 70 |er to us|e this p|
|000060e0| 61 63 6b 61 67 65 20 66 | 6f 6c 6c 6f 77 20 74 68 |ackage f|ollow th|
|000060f0| 65 73 65 20 73 74 65 70 | 73 2e 0d a5 20 79 6f 75 |ese step|s... you|
|00006100| 20 6d 75 73 74 20 61 6c | 72 65 61 64 79 20 68 61 | must al|ready ha|
|00006110| 76 65 20 61 20 63 6f 70 | 79 20 6f 66 20 53 79 6d |ve a cop|y of Sym|
|00006120| 61 6e 74 65 63 27 73 20 | 54 48 49 4e 4b 20 43 20 |antec's |THINK C |
|00006130| 34 2e 30 2e 0d a5 20 74 | 68 65 20 66 69 6c 65 20 |4.0... t|he file |
|00006140| 27 53 6f 66 74 54 61 6c | 6b 27 20 69 73 20 61 6e |'SoftTal|k' is an|
|00006150| 20 27 49 4e 49 54 27 20 | 74 68 61 74 20 79 6f 75 | 'INIT' |that you|
|00006160| 20 77 69 6c 6c 20 6e 65 | 65 64 20 74 6f 20 63 6f | will ne|ed to co|
|00006170| 70 79 20 69 6e 74 6f 20 | 79 6f 75 72 20 53 79 73 |py into |your Sys|
|00006180| 74 65 6d 20 46 6f 6c 64 | 65 72 2e 20 20 54 68 69 |tem Fold|er. Thi|
|00006190| 73 20 77 69 6c 6c 20 63 | 61 75 73 65 20 74 68 65 |s will c|ause the|
|000061a0| 20 53 6f 66 74 54 61 6c | 6b 20 72 75 6e 74 69 6d | SoftTal|k runtim|
|000061b0| 65 20 6d 6f 64 75 6c 65 | 20 74 6f 20 62 65 20 6c |e module| to be l|
|000061c0| 6f 61 64 65 64 20 69 6e | 74 6f 20 6d 65 6d 6f 72 |oaded in|to memor|
|000061d0| 79 20 77 68 65 6e 20 79 | 6f 75 20 72 65 62 6f 6f |y when y|ou reboo|
|000061e0| 74 20 79 6f 75 72 20 63 | 6f 6d 70 75 74 65 72 2e |t your c|omputer.|
|000061f0| 20 20 28 4e 4f 54 45 3a | 20 69 66 20 79 6f 75 20 | (NOTE:| if you |
|00006200| 63 75 72 72 65 6e 74 6c | 79 20 68 61 76 65 20 54 |currentl|y have T|
|00006210| 4f 50 53 20 69 6e 73 74 | 61 6c 6c 65 64 20 6f 6e |OPS inst|alled on|
|00006220| 20 79 6f 75 72 20 6d 61 | 63 68 69 6e 65 2c 20 74 | your ma|chine, t|
|00006230| 68 65 6e 20 79 6f 75 20 | 77 69 6c 6c 20 61 6c 72 |hen you |will alr|
|00006240| 65 61 64 79 20 68 61 76 | 65 20 61 20 76 65 72 73 |eady hav|e a vers|
|00006250| 69 6f 6e 20 6f 66 20 53 | 6f 66 74 54 61 6c 6b 20 |ion of S|oftTalk |
|00006260| 69 6e 20 79 6f 75 72 20 | 53 79 73 74 65 6d 20 46 |in your |System F|
|00006270| 6f 6c 64 65 72 2e 29 0d | a5 20 63 6f 70 79 20 74 |older.).|. copy t|
|00006280| 68 65 20 66 6f 6c 64 65 | 72 20 63 61 6c 6c 65 64 |he folde|r called|
|00006290| 20 27 53 6f 66 74 54 61 | 6c 6b 20 43 20 49 6e 74 | 'SoftTa|lk C Int|
|000062a0| 65 72 66 61 63 65 20 50 | 61 63 6b 61 67 65 27 20 |erface P|ackage' |
|000062b0| 74 6f 20 79 6f 75 72 20 | 64 69 73 6b 2e 20 20 54 |to your |disk. T|
|000062c0| 68 69 73 20 66 6f 6c 64 | 65 72 20 63 6f 6e 74 61 |his fold|er conta|
|000062d0| 69 6e 73 20 74 68 65 20 | 69 6e 74 65 72 66 61 63 |ins the |interfac|
|000062e0| 65 20 6c 69 62 72 61 72 | 79 2c 20 53 6f 66 74 54 |e librar|y, SoftT|
|000062f0| 61 6c 6b 2e 6c 69 62 2c | 20 74 68 65 20 69 6e 74 |alk.lib,| the int|
|00006300| 65 72 66 61 63 65 20 66 | 69 6c 65 2c 20 53 6f 66 |erface f|ile, Sof|
|00006310| 74 54 61 6c 6b 2e 68 2c | 20 74 68 65 20 73 61 6d |tTalk.h,| the sam|
|00006320| 70 6c 65 20 73 65 72 76 | 65 72 20 70 72 6f 6a 65 |ple serv|er proje|
|00006330| 63 74 2c 20 74 68 65 20 | 73 61 6d 70 6c 65 20 63 |ct, the |sample c|
|00006340| 6c 69 65 6e 74 20 70 72 | 6f 6a 65 63 74 2c 20 61 |lient pr|oject, a|
|00006350| 6e 64 20 6f 74 68 65 72 | 20 73 75 70 70 6f 72 74 |nd other| support|
|00006360| 69 6e 67 20 66 69 6c 65 | 73 2e 20 20 57 65 20 73 |ing file|s. We s|
|00006370| 75 67 67 65 73 74 20 74 | 68 61 74 20 79 6f 75 20 |uggest t|hat you |
|00006380| 72 65 62 75 69 6c 64 20 | 74 68 65 20 53 54 53 65 |rebuild |the STSe|
|00006390| 72 76 65 72 20 61 6e 64 | 20 53 54 43 6c 69 65 6e |rver and| STClien|
|000063a0| 74 20 61 70 70 6c 69 63 | 61 74 69 6f 6e 73 20 61 |t applic|ations a|
|000063b0| 6e 64 20 63 6f 6d 70 61 | 72 65 20 74 68 65 6d 20 |nd compa|re them |
|000063c0| 74 6f 20 74 68 65 20 6f | 6e 65 73 20 6f 6e 20 74 |to the o|nes on t|
|000063d0| 68 65 20 64 69 73 74 72 | 69 62 75 74 69 6f 6e 20 |he distr|ibution |
|000063e0| 64 69 73 6b 20 74 6f 20 | 6d 61 6b 65 20 73 75 72 |disk to |make sur|
|000063f0| 65 20 74 68 61 74 20 79 | 6f 75 20 68 61 76 65 20 |e that y|ou have |
+--------+-------------------------+-------------------------+--------+--------+
Only 25.0 KB of data is shown above.